If we request a cram or bam file without its index, the server replies with headers and then terminates the output.
Doing this through samtools gives [main_samview] random alignment retrieval only works for indexed BAM or CRAM files., while doing it through curl gives nothing.
We assume the message from samtools comes from stderr.
If we request a cram or bam file without its index, the server replies with headers and then terminates the output. Doing this through samtools gives
[main_samview] random alignment retrieval only works for indexed BAM or CRAM files.
, while doing it through curl gives nothing. We assume the message from samtools comes from stderr.