Git Product home page Git Product logo

Comments (7)

linzhi2013 avatar linzhi2013 commented on July 4, 2024 1

Dear sylviaviii,

I think the reason is that the length of your sequence id is too long. which is not allowed by biopython. the maximum seqid length is 10 or 15 characters, as I remember.

Please shorten your seqid firstly.

Cheers
Guanliang

from mitoz.

linzhi2013 avatar linzhi2013 commented on July 4, 2024 1

Dear sylviaviii,

it is a bug here. and thank you very for reporting this bug.

Could you please replace the file genbank_gene_stat_v2.py in your machine to this
genbank_gene_stat_v2.py.zip

you should decompress it after downloading.

Hope this will help.

Cheers

from mitoz.

sylviaviii avatar sylviaviii commented on July 4, 2024

Dear Guanliang,

It is helpful with your answer. Thank you!

But these days we have the same situation with different error message. May I ask your favor to tell me how to deal with it? The following is an error report. My sequence are Refseq from NCBI, which are NC_037851.1 and NC_026081.1

2020-01-10 10:05:12
/home/zf/install/miniconda2/envs/mitoz/bin/python3 /home/zf/install/MitoZ_v2.4-alpha/bin/common/genbank_gene_stat_v2.py Crassostrea_belcheri_mitoscaf.fa.gbf Crassostrea_belcheri.most_related_species.txt annotate > summary.txt

Traceback (most recent call last):
File "/home/zf/install/MitoZ_v2.4-alpha/bin/common/genbank_gene_stat_v2.py", line 238, in
main()
File "/home/zf/install/MitoZ_v2.4-alpha/bin/common/genbank_gene_stat_v2.py", line 215, in main
gene_infor, gene_freq = gene_stat(gbfile)
File "/home/zf/install/MitoZ_v2.4-alpha/bin/common/genbank_gene_stat_v2.py", line 97, in gene_stat
print(ass_num, "Warning: NO gene or product tag! this gene is not output!\n")
NameError: name 'ass_num' is not defined
Error occured when running command:
/home/zf/install/miniconda2/envs/mitoz/bin/python3 /home/zf/install/MitoZ_v2.4-alpha/bin/common/genbank_gene_stat_v2.py Crassostrea_belcheri_mitoscaf.fa.gbf Crassostrea_belcheri.most_related_species.txt annotate > summary.txt

from mitoz.

sylviaviii avatar sylviaviii commented on July 4, 2024

from mitoz.

linzhi2013 avatar linzhi2013 commented on July 4, 2024

I'm closing this. You can reopen it if the problem is still there.

from mitoz.

dleopold avatar dleopold commented on July 4, 2024

FYI - This bug is still present in the public docker images for versions 2.3 and 2.4_alpha.

from mitoz.

linzhi2013 avatar linzhi2013 commented on July 4, 2024

FYI - This bug is still present in the public docker images for versions 2.3 and 2.4_alpha.

I understand your question now. The docker image 2.3 was built years ago and hasn't been updated.

The problem will be solved in next formal version 3.5.

from mitoz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.