You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for gzipped input BED files for the ExpandBED script. #91
- Decorated classes with JavaDocs tags
- Reorganized argument validation in ExpandBEDCLI to both support -z flag and clarify output filename logic
- Update BufferedReader and output stream objects to detect and support Gzipped files
- add input validation logic to script
- Update ExpandBED window with an "Output GZIP" checkbox that is added to the script call
- update file selector to include gzipped file extensions
- change "Convert" to "Execute" buttons
- Reorganize default output filepath determination logic
* Class that contains method for expanding (BED) coordinate intervals from the center/border by a user-defined direction and distance.
19
+
*
20
+
* @author William KM Lai
21
+
*
22
+
*/
23
+
publicclassExpandBED {
24
+
/**
25
+
* Self-contained method for expanding the BED-formatted intervals in a BED file by user-specified distance and strategy. This method accounts for even-sized BED interval expansion in midpoint calculations by using the strand-aware downstream nucleotide between the two center nucleotides.
26
+
*
27
+
* @param out_filepath Filepath to save expanded BED-formatted files. If null, outputs to STDOUT.
28
+
* @param input Filepath to starting BED-formatted coordinates we want to shift. Supports automatic detection and handling of GZipped BED-formatted files. Must have at least 3 tab-delimited columns per BED specifications.
29
+
* @param SIZE Integer value indicating number of nucleotides to expand by (must be a positive integer).
30
+
* @param ExCenter Specifies expansion strategy: if true, size expansion will be performed from the midpoint of each BED interval, if false, size expansion will be performed from the border/edges of the BED intervals (default=true).
31
+
* @param gzOutput If this is true, the output file will be gzipped.
0 commit comments