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
samtools merge S3 cram files requires -X flag #1132
Comments
What syntax should I use for samtools merge -b cramfile.list -X to work? |
What version of samtools/htslib are you using? Please fill in the issue template. |
samtools 1.9-180-gf9e1caf
|
samtools/htslib#870 Does'nt check for .crai index? |
You can try the fix, until it is merged, by running the following commands in your HTSlib folder:
Then rebuild your samtools binary with this version of HTSlib. |
Is your feature request related to a problem? Please specify.
samtools merge -R $region - s3://bucket/sample1.bam s3://bucket/sample2.bam
# oksamtools merge -R $region - s3://bucket/sample1.cram s3://bucket/sample2.cram --reference ref.fa
# Failed to load index.#978 gives an option -X flag workaround:
samtools merge -R $region - -X s3://bucket/sample1.cram s3://bucket/sample2.cram sample1.cram.crai sample2.cram.crai --reference ref.fa
# okDescribe the solution you would like.
I would prefer a solution without this -X flag, similar to the syntax for BAM files.
The text was updated successfully, but these errors were encountered: