Giter VIP home page Giter VIP logo

Comments (4)

mikessh avatar mikessh commented on July 18, 2024

Complex issue. For example how to report two consequent substitutions, which are only non-synonymous when present together. Either report them as synonymous or allow to aggregate mutations (milib)

from mixcr.

dbolotin avatar dbolotin commented on July 18, 2024

I'm thinking about simplest algorithm:

  • Translate mutated sequence
  • Enumerate substitutions between mutated and germline sequences

ATTAAGACACAGATA
||||  |||| ||||
ATTATAACACCGATA

->

ATTAAGACACAGATA
 I  K  T  Q  I
 |     |     |
 I  I  T  P  I
ATTATAACACCGATA

->

SK1I, SQ3P

Exceptional cases:

  • If sequence contain long (~ >15 nt) region with shifted frame, don't output mutations, just print something like (frameshift)
  • But if region is not too long (like the following), still print mutations for it.

ATTAAGACACA-GATA
ATTA-GACACATGATA

->

ATTAAGACACAGATA
 I  K  T  Q  I
 |           |
 I  R  H  M  I
ATTAGACACATGATA

->

SK1R, ST2H, SQ3M

  • For deletions of 3,6,9... nucleotides there is also possible to output amino acid deletions... But it is not so simple in general case

from mixcr.

dbolotin avatar dbolotin commented on July 18, 2024

Basic feature for this is already implemented in com.milaboratory.core.mutations.MutationsUtil.nt2aa()...

from mixcr.

swuecho avatar swuecho commented on July 18, 2024

"it is now the case a mixture of SHM and NGS-related"

NGS error should be negligible compared with shm, since 'the mutation occur at a rate of about one muation per V-region sequence per cell division" ?

I am trying to calculated SHM using mixcr.

I use the command

mixcr exportClones -vHit -jHit -dHit -count -aaFeature CDR3 -vAlignment -jAlignment

to export the clone with v j alignment, and calculate the mutation based on alignment. but the shm result is very different from what I get using igblast. (we are switching from igblast to mixcr)

Am I in the right direction? Thanks.

of course, if the shm can be exported directly, it will be great.

from mixcr.

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.