Open nick-youngblut opened 3 years ago
I think that the error is due to me using a spades assembly contig fasta in which all sequences <2000bp were removed. I'm guessing that graphbin2 expects all contigs in the .gfa and .paths files to be present in the fasta file also. It would help to just have a warning instead of a keyerror, given that many users filtering the contig fasta generated by metaspades, since metaspades has no minimum contig length
Hi @nick-youngblut,
You are correct. GraphBin2 expects all the contigs available in the *.paths to be provided for binning. I will add a fix so users can filter out contigs and still use the original graph. Thank you for pointing this out. I will leave this issue open until I fix it.
Hi @Vini2,
I am getting the same error for the same reason, filtering out short contigs. Is there a workaround?
Cheers
The error:
What is the key error referring to? What is the key that is not found?
conda info: