Skip to content
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

Strand specificity #118

Open
flde opened this issue Mar 7, 2024 · 1 comment
Open

Strand specificity #118

flde opened this issue Mar 7, 2024 · 1 comment

Comments

@flde
Copy link

flde commented Mar 7, 2024

Hello,

many thanks for the great tool!

I am using 10x 5' with R2-only mapped reads - hat should be antisense mapped reads only. And cellSNP-lite in mode 1a with 1k genome vcf. I assume the 1K genome vcf SNP reference to the positive-sense strand.

My question is if cellSNP does take into account the orrientation of the reads relative to reference SNP? I assume yes but highly appreciate your insights.

Kind regards,
Florian

@hxj5
Copy link
Collaborator

hxj5 commented Mar 7, 2024

Hi, cellsnp-lite does not check the orientation of the reads. It extracts the SNP allele from the SEQ field of the BAM alignments, which should always be represented on the forward genomic strand (i.e. the same strand as the reference genome sequence). In this way, cellsnp-lite can directly compare the extracted allele and the input SNP allele without doing reverse complement, as they are represented on the same strand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants