I got a cram file, and want to convert it to bam file. Here's the command I use and error I got
samtools view -b -T human_g1k_v37.fasta lucky.cram > lucky.bam
[sam_header_read2] 84 sequences loaded.
[sam_read1] reference 'Wm�;�����e��i���f�[�=���~�����U��/���>���Q���O����n����O��' is recognized as '*'.
Parse error at line 1: invalid CIGAR character
I don't know what to do with this. Please help~
Convert a CRAM file to a BAM file
Is cram-tools even still supported?
This suggests that there's a mismatch between the fasta file and what the CRAM file was created with. I'd double check that before proceeding.