Giter Site home page Giter Site logo

Manual overhaul about phyx HOT 9 CLOSED

fephyfofum avatar fephyfofum commented on August 11, 2024
Manual overhaul

from phyx.

Comments (9)

josephwb avatar josephwb commented on August 11, 2024 1

Ok I fixed that one (missing condition). The rest seem fine, but will test thoroughly later today.

from phyx.

josephwb avatar josephwb commented on August 11, 2024

Most of this is done (and thanks to @jfwalker for redoing this in latex format!).

I have not touched on the last thing yet:

The pxcontrates example gave me nan values when using the provided files

from phyx.

josephwb avatar josephwb commented on August 11, 2024

I think we can considered this completed.

from phyx.

Cactusolo avatar Cactusolo commented on August 11, 2024

Sorry, I can not find a good place to ask this question, and it's not a issue. So I put here:

For the function "pxconsq" in phyx, the manual says that it will return user "the consensus sequence"; but I can't figure out the "the consensus sequence" is strictly consensus or MJR consensus? If this could explained in the manual or can provide different flavors (or use defined consensus threshold) should be great.

Thanks!

Miao

from phyx.

josephwb avatar josephwb commented on August 11, 2024

I suppose it would be considered strict for DNA: IUPAC ambiguity codes are used to represent all bases present at a site (try pxconsq -s TEST/test.fa and more TEST/test.fa in the src directory for an example). Not sure what happens with AAs.

from phyx.

josephwb avatar josephwb commented on August 11, 2024

Hrm there may be a bug here. The first site in the example (A,G,A,T,T) should be 'D', but 'R' (A.G) is reported. The next few sites are correct. But this should be examined in detail.

from phyx.

Cactusolo avatar Cactusolo commented on August 11, 2024

@josephwb Also, for the output:

Is it possible to have a flag (or option) that user can choose preferred symbol for gap?
Like "-" or "N", or no gap generated in the consensus sequence (like the strict major rule consensus sequences generated by Geneious)? I can work on Geneious, but finger clicking for generating consensus sequences from 353 genes can be tedious.

I think these are useful when assembling target enrichment data, where people want consensus sequence for each gene as reference. If this feature provided, then the pxconsq results will directly meet the needs (the current output containing too many 'N's).

from phyx.

josephwb avatar josephwb commented on August 11, 2024

Sure. We would need to know the permutations that would be desired. For example, if one sequence has A and all the rest gaps, should the consensus be A or - (or something else)? It is also not rare to have both N (ambiguity) and - (gap) within a single sequence. If all sequences are a gap at a site, are you suggesting dropping the site from the consensus completely?

Happy to do whatever you'd like. Maybe start a fresh issue to elaborate on things. Maybe provide a small example input and expected output(s).

from phyx.

Cactusolo avatar Cactusolo commented on August 11, 2024

Thanks! Will do.

from phyx.

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.