Skip to content

Commit

Permalink
Adding commonly used BigBed extensions, closing Ensembl#71
Browse files Browse the repository at this point in the history
  • Loading branch information
dzerbino committed Jun 12, 2021
1 parent 5c6bb8c commit 97f23f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unaryOps.c
Original file line number Diff line number Diff line change
Expand Up @@ -1181,6 +1181,10 @@ WiggleIterator * SmartReader(char * filename, bool holdFire) {
return BedReader(filename);
else if (!strcmp(filename + length - 3, ".bb"))
return BigBedReader(filename, holdFire);
else if (!strcmp(filename + length - 7, ".bigBed"))
return BigBedReader(filename, holdFire);
else if (!strcmp(filename + length - 7, ".bigbed"))
return BigBedReader(filename, holdFire);
else if (!strcmp(filename + length - 4, ".bam"))
return BamReader(filename, holdFire, false);
else if (!strcmp(filename + length - 5, ".cram"))
Expand Down

0 comments on commit 97f23f2

Please sign in to comment.