Comments (7)
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.
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.
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.
from mitoz.
I'm closing this. You can reopen it if the problem is still there.
from mitoz.
FYI - This bug is still present in the public docker images for versions 2.3 and 2.4_alpha.
from mitoz.
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)
- Assembling using spades requires >=v3.15.4 HOT 2
- Perl version issue of MitoZ=3.4 HOT 3
- sqn metadata HOT 2
- summary file incomplete HOT 6
- "Segmentation fault (core dumped)" after (trying to) install HOT 1
- MitoZ annotate error? HOT 1
- Error with filter_by_abundance() HOT 3
- Arguments in findmitoscaf HOT 3
- Use for plant mitochondria annotation HOT 4
- Nanopore sequence for Mitochondrial genome assembly? HOT 4
- Is longer Illumina reads or shorter reads preferred? HOT 3
- mitoz visualize -h HOT 3
- 2 Mitogenomes in One Sample HOT 2
- Other animal taxa? HOT 3
- Error encountered in mt_assembly using mitoz all command HOT 2
- How to introduce breakpoints? HOT 1
- overlap_information file empty and mitogenomes not circularised HOT 1
- How to make cirular map to linear? HOT 1
- I got an error when I install the taxdump.tar.gz into sqlite3, why ? HOT 2
- Open Reading Frame HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mitoz.