marbl / MetaCompass

MetaCompass: Reference-guided Assembly of Metagenomes
https://github.com/marbl/MetaCompass/wiki
Other
38 stars 11 forks source link

Specifying multiple .fasta reference genomes? #12

Closed chklovski closed 5 years ago

chklovski commented 5 years ago

I'm trying to run metacompass, and it runs fine if I specify a single reference .fasta genome with -r, but cannot recognize multiple .fasta genomes, and crashes if I provide it with a .fasta file containing all the reference genomes in a single file. Is it possible to run MetaCompass with multiple .fasta reference genomes?

vcepeda commented 5 years ago

The file is assumed to be multi-fasta.

chklovski commented 5 years ago

Are there any requirements? Blank line between different organisms or between contigs, sequence line length, anything else? Whenever I provide metacompass a multi-fasta file, it invariably crashes during the contig_build job with a segmentation fault exception, but runs fine if provided an individual genome .fasta.

vcepeda commented 5 years ago

Please provide the error and the headers of your muti and single fasta files.

chklovski commented 5 years ago

Sorry! It was my fault. I had two contigs in the merged fasta with identical headers. Unique headers fixed the problem.