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

Feat: Support for CRAM #578

Open
bcantarel opened this issue Aug 2, 2023 · 4 comments · Fixed by #580
Open

Feat: Support for CRAM #578

bcantarel opened this issue Aug 2, 2023 · 4 comments · Fixed by #580
Assignees

Comments

@bcantarel
Copy link

For genomes with long chromosomes (like Marsupials) one cannot create BAM index files -- only CRAM with CSI files. For some commands like callpeak, these cram files can be converted into bed files, but for other commands like hmmratac, it seems like BAM is the only option.

@taoliu
Copy link
Contributor

taoliu commented Aug 2, 2023

Good suggestion! We will implement it.

@taoliu taoliu self-assigned this Aug 2, 2023
@taoliu
Copy link
Contributor

taoliu commented Aug 2, 2023

It may take some time for us to add CRAM file support. But an easy solution is that we can try to enable BEDPE support for hmmratac. The BEDPE format file contains the genomic location information of each pair of reads in each row -- chromosome, start of the whole fragment, end of the whole fragment.

@taoliu taoliu linked a pull request Aug 2, 2023 that will close this issue
@bcantarel
Copy link
Author

bedpe would be a great alternative!

@taoliu taoliu linked a pull request Aug 3, 2023 that will close this issue
@taoliu taoliu reopened this Aug 3, 2023
@taoliu
Copy link
Contributor

taoliu commented Aug 3, 2023

BEDPE support has been added #580

CRAM support will be added in the future. I need some planning on how to implement that. We didn't use any third-party libs to access BAM and BAI. Therefore I have to investigate how easy/hard to do the same for CRAM and whether we should use htslib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants