Coder Social home page Coder Social logo

add `pyani dnadiff` subcommand about pyani HOT 5 OPEN

kiepczi avatar kiepczi commented on August 11, 2024
add `pyani dnadiff` subcommand

from pyani.

Comments (5)

kiepczi avatar kiepczi commented on August 11, 2024

I have been working under the branch dnadiff.

Our main issue is that dnadiff returns 9 files for a single pairwise comparison. We do not want to generate that many files, especially when they are not needed. After my investigation, I managed to replicate the values for AlignedBases and AvgIdentity by running only scripts/programs that generate what we need.

To replicate the results, we need to generate 4 command lines:

  1. nucmer to generate alignments with the --maxmatch parameter.
  2. delta-filter to generate M-to-M alignments by calling the -m parameter.
    NOTE: Both commands 1 and 2 are different from the ones currently generated in the pyani anim subcommand.
  3. show-coords to generate the .mcoords file needed to calculate AlignedBases and AvgIdentity.
  4. show-diff to generate the .rdiff files needed for the AlignedBases calculation.

I have used the exact process implemented by dnadiff and successfully replicated the numbers for three separate test sets. You can find all the scripts and data here.

from pyani.

widdowquinn avatar widdowquinn commented on August 11, 2024

Can we move the working branch for this to issue_424 to be consistent, please?

from pyani.

widdowquinn avatar widdowquinn commented on August 11, 2024

See note in #422 regarding implementation with show-coords/show-diff.

from pyani.

widdowquinn avatar widdowquinn commented on August 11, 2024

pyani dnadiff is something probably best reserved for the ground-up rebuild in pyani-plus - let's keep development for that project, not for this v0.3.

from pyani.

kiepczi avatar kiepczi commented on August 11, 2024

Can we move the working branch for this to issue_424 to be consistent, please?

As requested, the working branch for this issue was moved to issue_424.

from pyani.

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.