Skip to content

Commit bb63780

Browse files
authored
Add support for bedGraph.gz files (#1)
* Add support for bedGraph.gz files * check lowercase `bedgraph.gz`
1 parent 8f15d3f commit bb63780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/check-sort-order/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func main() {
5858

5959
if strings.HasSuffix(args.Path, ".vcf.gz") {
6060
checkVCF(args.Path, gf)
61-
} else if strings.HasSuffix(args.Path, ".bed.gz") {
61+
} else if strings.HasSuffix(args.Path, ".bed.gz") || strings.HasSuffix(strings.ToLower(args.Path), ".bedgraph.gz") {
6262
checkTab(args.Path, gf, get_vcf_chrom_start)
6363
} else {
6464
found := false

0 commit comments

Comments
 (0)