Giter Site home page Giter Site logo

Comments (6)

jeremycfd avatar jeremycfd commented on July 20, 2024

TCRdist is using allele-level information to calculate probabilities of generation, among other things. So at the stage of processing a parsed_seqs_file, it's looking for chains that can be explicitly found in the current version of the annotation database, which is found in /tcr-dist/db/alphabeta_db.tsv This is one of the reasons it's generally best to parse/annotate your sequences using the TCRdist pipeline so that you aren't introducing different segment names, etc. Or you can annotate your data using whatever other pipeline you have, but use the TCRdist VDJB database for those annotations. If you can't do that, you can try editing the database file and then using the option --no_probabilities (otherwise I would expect your probabilities to be incorrect.)

Having said all of that... I don't quite understand what you mean by "I currently only have V gene-level information". The example data you posted includes J gene information as well.

Feel free to email me directly if you want to discuss further how to get an unsupported data format into TCRdist. It is possible to do, but it's important to take into consideration that some of the standard analyzes presented in the output are going to be biased as a result.

from tcr-dist.

phbradley avatar phbradley commented on July 20, 2024

Hi Gabrielle,
What has worked for me in the past is to just add "*01" to all the gene names. There may still be a few that cause trouble, but I would give that a shot for starters. We are in the process of doing some refactoring which should help with this kind of I/O trouble, so I bet we can get this figured out.
Let me know whether that fix works for you.
Take care,
Phil

from tcr-dist.

ALGW71 avatar ALGW71 commented on July 20, 2024

Hi,

Following on from this question, can you give us an example of how to use parsed seq file with the minimum necessary information in order to run? For example with just the CDR3 sequence, V and J gene - will this work?

Otherwise some more information on the minimum input columns needed to successfully run tcr-dist with limited info.

Many thanks,
Alex

from tcr-dist.

phbradley avatar phbradley commented on July 20, 2024

Hi Alex,
Sorry that things aren't clearer! This (ie, not starting from the beginning with complete read nucleotide sequences) is definitely one area that needs work. Just to clarify: do you have the nucleotide sequence of the CDR3 regions? Some of the scripts use that information for the graphics. But it's certainly not necessary for all of them...
Take care,
Phil

from tcr-dist.

ALGW71 avatar ALGW71 commented on July 20, 2024

Hi Phil,

No worries, it's an ambitious job.

I had moderate success with my raw output "target" sequences from MiXCR, however at short sequence lengths tcr-dist failed to find/classify the CDR3 (where MiXCR seems to be building the CDR3 sequence).
I'll keep playing with the CDR3 nucleotide sequences as you have suggested, then see what I can get from my raw MiXCR data.
Ultimately as I have the V, J and CDR3 I should be able to "build" a raw sequence which I can input directly into the paired_seq_file (using fake_probabilities and fake_beta or fake_alpha).

If I have success I will put the details here.

Many thanks,
Alex

from tcr-dist.

Owuorgpo avatar Owuorgpo commented on July 20, 2024

Hi Gabrielle,
What has worked for me in the past is to just add "*01" to all the gene names. There may still be a few that cause trouble, but I would give that a shot for starters. We are in the process of doing some refactoring which should help with this kind of I/O trouble, so I bet we can get this figured out.
Let me know whether that fix works for you.
Take care,
Phil

Was this refactoring introduced? I am faced with the same challenge with 10X data processed using the V(D)J T Cell Analysis with cellranger vdj pipeline in addition to mixcr software. Adding *01 to all genes presents a challenge due to the large dataset and presence of genes like TRAJ43;TRAJ34 or TRAV29/DV5 in the same clonotype. Not sure about the overall effect of editing /tcr-dist/db/alphabeta_db.tsv.

from tcr-dist.

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.