-
Notifications
You must be signed in to change notification settings - Fork 24
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
[BUG] scirpy conversion - rename productive #153
Comments
Hi @sbenjamaporn, just a few things to ask -
Some clarification:
If you follow the documentation, there's an instruction like: vdj.update_germline(corrected = 'path/to/tigger_heavy_igblast_db-pass_genotype.fasta', germline = None, org = 'human') where I just noticed another bug with the if-else statement that would prevent manual input of the import os
os.environ['GERMLINE'] = '/path/to/database/germlines/' # download and unpack the database file from https://github.com/zktuong/databases_for_vdj
vdj.update_germline(corrected = 'path/to/tigger_heavy_igblast_db-pass_genotype.fasta', germline = None, org = 'human') or directly update from changeo.IO import readGermlines
gml = [
'path/to/database/germlines/imgt/human/vdj/imgt_human_IGHV.fasta', 'path/to/database/germlines/imgt/human/vdj/imgt_human_IGHD.fasta', 'path/to/database/germlines/imgt/human/vdj/imgt_human_IGHJ.fasta',
'path/to/tigger_heavy_igblast_db-pass_genotype.fasta' # place this last
]
vdj.germlines.update(readGermlines(gml)) This can then be followed up with Let me know if there's any issues |
Dear @zktuong, Thanks for your helping and recommendation. I run the preprocessing via singularity container. Then, I use scirpy to define my clonotype. The output from scirpy did not give the column "germline_alignment_d_mask" to me, so I think even if I convert scirpy's AnnData to dandelion, the dandelion could not apply "quantify_mutations" to it, properly. I then use update germline that you have suggested (import os), follow by create_germlines. The result also show KeyError: "['germline_alignment_d_mask'] not in index". To sum up, my main problem is "germline_alignment_d_mask did not be found in my data". My next solution is "I will merge AIRR from your dandelion (result before I convert to scirpy containning "germline_alignment_d_mask" with AIRR from scirpy (no germline_alignment_d_mask information) to correct germline of each sequence. Thanks again! And if you have any more suggestions, feel free to let me know |
ah ok! i see.
you will then find if you transfer back, the columns will be present:
|
Dear @zktuong, It works! Thank you so much for developing this tool and kindly responding to me. Best regards, |
related to scverse/scirpy#343
The text was updated successfully, but these errors were encountered: