Closed priscalim00 closed 2 months ago
Hi all,
I was able to resolve this. I incorrectly assumed that bwa-mem2 produced identical outputs to bwa, but just at a faster rate. Turns out, that is untrue and Athena only recognizes bwa indices, not bwa-mem2 indices. Once I re-indexed my contigs.fasta
with bwa, everything ran without issues! I will be closing this issue now, thank you! :)
Hi there,
Thank you for your work in developing this tool. I've followed the instructions on your page but am encountering an error when running the
athena-meta
command.Here are the steps I've taken:
reads.fastq
)reads.fastq
filecontigs.fasta
file using the commandbwa-mem2 index
bwa-mem2 mem -C
, followed bysamtools sort
andsamtools index
to producereads2contigs.bam
config.json
file and inputted the paths toreads.fastq
,contigs.fasta
andreads2contigs.bam
, then ran theathena-meta
command.The first two steps (CheckReadsStep and SubassembleReadsStep) run with no issues, but then it hits an error and fails:
The error states that ctgfasta_path option must reference a BWA index, which is confusing because the
contigs.fasta
file has been indexed and the associated index files are in the same directory ascontigs.fasta
. I've tried re-running the command using just the prefix or directory path name, but both options gave the same error. I'm not sure why my input contigs.fasta is not being recognized as a valid input. Thanks for any tips/advice you can provide!