Skip to content

Add cram support for RetroSeq#25

Open
maarten-k wants to merge 10 commits intotk2:masterfrom
maarten-k:main
Open

Add cram support for RetroSeq#25
maarten-k wants to merge 10 commits intotk2:masterfrom
maarten-k:main

Conversation

@maarten-k
Copy link

This pull request enables RetroSeq to handle cram files. This is facilitated by using a modern version of samtools (newer than 1.10) and some changes in the code for checking files (e.g. also allow cram files when looking for cram.) Bam support is still supported.

  • [feature] Added support for cram files. Requires samtools 1.10 and newer
  • [speedup] decodes only parts of cram files used by RetroSeq Perl script
  • [fix] Samtools can not extract regions with a negative start position. Negative values are set to zero. This may occur in HG38 reference with alt contigs

kristinebilgrav and others added 10 commits January 28, 2021 13:48
…ts of bam indexes also crai indexes are checked for presents
…mark with a small cram file a speedup of at least 2x in the discover phase. Bam files can still be used and do not benefit from this optimisation.
This is set to 1 version higher than actually needed since the CheckBinary function has issues to see that 1.15 Is higher than 1.9 (it does a string compare and not a numeric compare)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants