-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CDR3 sequences length #295
Comments
Which version of TRUST4 are you using? Could you please send me the corresponding row for TGTGCAGTGAGTAGCACCAATACAGGCAAATTAACCTTTGGGGAT in the AIRR file. Thank you! |
version 1.1.2 |
Thank you for sharing the file. I think I've found the issue, and pushed the fix to the github repo. Could you clone the github version and give it a try? This is a pretty serious bug (only happens on mouse TRA chain), and if it works on your data set, I will draft a new release soon. Thank you! |
Thank you for your quick work. I will try to re-analyze using the latest repo. |
I checked and found that the result no longer has that last part and is consistent with cellranger. |
Thank you! The mouse IMGT TRA sequence has some special gaps, so the common coordinate for CDR1, 2, 3 does not hold. The CDR3 coordinate can still be inferred from the motifs, but the CDR1, 2 is more difficult to recalibrate. I think in CellRanger, they have their own reference gene annotation, so they don't have this issue. I need some time to fix the CDR1,2 issue. |
Thank you very much for your answer. |
I just added the option "--imgtAdditionalGap" in the "special_gap" branch on the github repo. If the CDR1,2 information for the TRA chain is needed, you can add the option "--imgtAdditionalGap TRAV:7,83". If you get a chance, could you please give this branch a try and let me know whether it works on your data? Thank you! |
i check some result
i've captured some of the results for you,. If you need more , i send them use email |
Thank you! This looks quite consistent. I've merged the branch to the master, and will make a new release this week. |
So this parameter can only be added when performing similar analyses like TCR analysis in mouse, and if it's added to other analyses like BCR analysis, it will result in incorrect CDR1/CDR2, right? |
The parameter is only effective when TRUST4 detects the IMGT introduces additional gaps, where the canonical CDR3 motif does not match the IMGT coordinate system. When that happens, it will try to use the --imgtAdditionalGap option to adjust CDR1 and CDR2's coordinates. Therefore, adding the option shouldn't affect the analysis for most chains, and only the chain specified in the option like "TRAV:7,83" will be affected. |
Hi Dr. Li,
When I use Cell Ranger and TRUST4 for analysis,
I noticed that some CDR3 sequences obtained by TRUST4 are longer than those from Cell Ranger.
What caused the difference?
i have used the latest repo.
The text was updated successfully, but these errors were encountered: