Hi Gabriel,
I'm trying to run schmutzi.pl and I am getting the following error:
running cmd endoCaller -seq b07_npred_1_endo.fa -log b07_npred_1_endo.log -name MT -qual 0 -logindel 50 -deamread -deam5p b07_npred_1_endo.5p.prof -deam3p b07_npred_1_endo.3p.prof -cont 0.205 -deam5pc b07_npred_1_cont.5p.prof -deam3pc b07_npred_1_cont.3p.prof -single -seqc b07_npred_1_cont.fa -logc b07_npred_1_cont.log -namec MTc -l 16569 ./refGenomes/MT.fa ../b07.mtDNA.sorted.calMD.bam
Reading genome file ...
... done
Reading BAM file ...
FASTA error: invalid refId specified: 24
bamtools convert ERROR: pileup conversion - could not read reference base from FASTA file at chr 24 position 0
This can be normally solved by calling samtools' calmd on your bam file
I have already used samtools calmd. It looks like bamtools is referring to the mtDNA as "24" but in my BAM file it is "MT" and in the fasta file it is ">MT"; also the endoCaller command specifies " -name MT."
Do you know where is this refId being specified as 24? Could you please help me to fix this issue?
Thank you,
Eduardo
Hi Gabriel,
I'm trying to run schmutzi.pl and I am getting the following error:
I have already used samtools calmd. It looks like bamtools is referring to the mtDNA as "24" but in my BAM file it is "MT" and in the fasta file it is ">MT"; also the endoCaller command specifies " -name MT."
Do you know where is this refId being specified as 24? Could you please help me to fix this issue?
Thank you,
Eduardo