Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARRAY reference and Bio::SimpleAlign::column_from_residue_number problems #41

Open
gettl008 opened this issue Apr 7, 2020 · 1 comment

Comments

@gettl008
Copy link

gettl008 commented Apr 7, 2020

I'm trying to run mfannot on a number of yeast mitochondrial assemblies. Nearly all of them worked perfectly but I am getting two separate errors in two separate assemblies. The command to run all of the assemblies is the same:

mfannot \
    --genetic 3 \
    --outputfile $prefix.mitochondrial_genome.mfannot.out \
    --logfile $prefix.mitochondrial_genome.mfannot.log \
    --T $(pwd)/tmp \
    $prefix.assembly.mitochondrial_genome.fa

Any ideas what might be going wrong here?

Error 1:

Can't use an undefined value as an ARRAY reference at /home/travisan/public/local/bin/mfannot line 5490.

Input fasta: error1_assembly.fa.txt
Debug output: error1_debug.txt

Error 2:

------------- EXCEPTION: Bio::Root::Exception -------------
MSG: Could not find a sequence segment in myProt containing residue number 492
STACK: Error::throw
STACK: Bio::Root::Root::throw /home/travisan/public/local/lib/perl5/site_perl/5.30.2/Bio/Root/Root.pm:449
STACK: Bio::SimpleAlign::column_from_residue_number /home/travisan/public/local/lib/perl5/site_perl/5.30.2/Bio/SimpleAlign.pm:2683
STACK: main::DefineSeqOfHypprotAndPosOfIntronInAlignment /home/travisan/public/local/bin/mfannot:3491
STACK: /home/travisan/public/local/bin/mfannot:3130
-----------------------------------------------------------

Input fasta: error2_assembly.fa.txt
Debug output: error2_debug.txt

@natacha-beck
Copy link
Collaborator

@gettl008 It sometimes happen when searching for mini-exons. Using --partial option will skip the mini-exons but will normally allow you to get your result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants