Error running Macrel on Wormbase genome

35 views
Skip to first unread message

Javier Calvelo

unread,
Dec 17, 2021, 12:32:22 PM12/17/21
to ampsphere-users
Hello all. I ran with the following error trying to run Macrel on the Hymenolepis microstoma genome availabl on the genebank. The test files and other assemblies work perfectly. What's is the issue?  Thanks

Genome: 
https://parasite.wormbase.org/Hymenolepis_microstoma_prjeb124/Info/Index/

Comand line:
macrel contigs -t 25 --fasta hymenolepis_microstoma.PRJEB124.WBPS16.genomic.fa --output TEST

Error message:
Traceback (most recent call last):
 File "/home/amanda/miniconda3/envs/macrel/bin/macrel", line 11, in <module>
   sys.exit(main())
 File "/home/amanda/miniconda3/envs/macrel/lib/python3.9/site-packages/macrel/main.py", line 349, in m
ain
   do_smorfs(args, tdir,logfile)
 File "/home/amanda/miniconda3/envs/macrel/lib/python3.9/site-packages/macrel/main.py", line 147, in d
o_smorfs
   subprocess.check_call(
 File "/home/amanda/miniconda3/envs/macrel/lib/python3.9/subprocess.py", line 373, in check_call
   raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['prodigal_sm', '-c', '-m', '-n', '-p', 'meta', '-f', 'sco', '-
a', 'TEST/macrel.out.all_orfs.faa', '-i', '/tmp/tmprjvl0rq4/contigs.fna']' returned non-zero exit statu
s 56.

Luis Pedro Coelho

unread,
Dec 18, 2021, 8:37:44 AM12/18/21
to ampsphere-users
Dear Javier,

The immediate issue is that the genome is too large for prodigal (which was developed for prokaryotes):

Sequence too long (max 32000000 permitted).

*

There is another UX issues in that macrel is not printing the error from prodigal to allow the user to diagnose it. I will open an issue (@Celio Dias: can you have a look and see if we can fix it for the next release?)

Best
Luis


Luis Pedro Coelho | Fudan University | http://luispedro.org
--
You received this message because you are subscribed to the Google Groups "ampsphere-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampsphere-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Javier Calvelo

unread,
Dec 18, 2021, 5:33:09 PM12/18/21
to ampsphere-users
I see, thanks Luis

Luis Pedro Coelho

unread,
Dec 19, 2021, 4:45:59 AM12/19/21
to ampsphe...@googlegroups.com

As a workaround, you can split the genome into chunks. That should work
Luis

Reply all
Reply to author
Forward
0 new messages