Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cram support for RetroSeq #25

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Add cram support for RetroSeq #25

wants to merge 10 commits into from

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