Git Product home page Git Product logo

Comments (6)

comery avatar comery commented on August 27, 2024 1

Dear Vahap,

I checked my code and found there is a little bug in that script. I am sorry for that make your time.

Now you can use the attached script to reorder your mitogenome as the way you did. I will let Guanliang update this script later.

Best wishes,
Chentao
Mitogenome_reorder.py.zip

from mitoz.

Veldem avatar Veldem commented on August 27, 2024

Dear Guanliang,

There is another issue about useful script called "circle_check.py" when running this script, the output considers the mtDNA assembly as "linear", but however, the summary file of MitoZ output indicates the mtDNA assembly is circular. Could we clarify this issue?

cat jjj.mitogenome.fa

C108631;len=16571;topology=circular topology=linear

#Seq_id Length(bp) Circularity Closely_related_species
C108631 16571 yes Schistura scaturigina

Best wishes

from mitoz.

linzhi2013 avatar linzhi2013 commented on August 27, 2024

Dear Guanliang,

There is another issue about useful script called "circle_check.py" when running this script, the output considers the mtDNA assembly as "linear", but however, the summary file of MitoZ output indicates the mtDNA assembly is circular. Could we clarify this issue?

cat jjj.mitogenome.fa

C108631;len=16571;topology=circular topology=linear

#Seq_id Length(bp) Circularity Closely_related_species
C108631 16571 yes Schistura scaturigina

Best wishes

Dear Vahap,

The basic idea of circle_check.py script is to check if the two ends of a sequence are overlapping, regardless of the sequence title information. The overlapping region will be removed in the output.

So I think the MitoZ summary output saying "Circular" looks good.

If you run circle_check.py again with the "circularized" sequence, in which its two ends have no overlapping regions anymore, then circle_check.py will add topology=linear comment on the output title.

Best wishes,
Guanliang

from mitoz.

comery avatar comery commented on August 27, 2024

Dear Vahap,

I think this problem is raised by your sequence ID. I remember the assembly result generated by MitoZ looks like "C720972 topology=circular", there is " " after sequence id "C720972", not linked by ";".

In this case, the script Mitogenome_reorder.py will find topology information from string "topology=circular" which is defined as the description for a fasta sequence.
So, try to change the format of your sequence, it will work!

Best wishes,
Chentao

from mitoz.

Veldem avatar Veldem commented on August 27, 2024

Dear Guanliang & Chentao,

Thank you for the quick response but despite my numerous effort, I could not reorder our mtDNA like the reference. Here I am sharing the mtDNA assembly and reference genome with you and code, it will be perfect if you overcome this problem! Many thanks in advance for all your help.

Code:
python3 Mitogenome_reorder.py -f Ase1.fasta -r Schistura_longa.fasta

Schistura_longa.zip
Ase1.fasta.zip

from mitoz.

Veldem avatar Veldem commented on August 27, 2024

Dear Chentao,

Thank you for all your help, now, the script is working seamlessly with your help!

Best wishes!

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.