Skip to content

Commit

Permalink
Add support for bedGraph.gz files (#1)
Browse files Browse the repository at this point in the history
* Add support for bedGraph.gz files

* check lowercase `bedgraph.gz`
  • Loading branch information
mikecormier authored Apr 24, 2020
1 parent 8f15d3f commit bb63780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/check-sort-order/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func main() {

if strings.HasSuffix(args.Path, ".vcf.gz") {
checkVCF(args.Path, gf)
} else if strings.HasSuffix(args.Path, ".bed.gz") {
} else if strings.HasSuffix(args.Path, ".bed.gz") || strings.HasSuffix(strings.ToLower(args.Path), ".bedgraph.gz") {
checkTab(args.Path, gf, get_vcf_chrom_start)
} else {
found := false
Expand Down

0 comments on commit bb63780

Please sign in to comment.