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

Do other species that adopt the 1a pattern need to specify chromosomes #140

Open
qiqi277 opened this issue Oct 19, 2024 · 1 comment
Open

Comments

@qiqi277
Copy link

qiqi277 commented Oct 19, 2024

Hello, can I specify chromosomes in mode 1a? I want to detect all the chromosomes of pigs, but only 18 autosomes can be detected in the vcf file generated by running mode 1a. How can I detect X, Y and MT together? Here are the commands to run.

#mode1	 
$cellsnp -s $BAM -b $BARCODE -O $output -R $REGION_VCF -p 10 --minMAF 0.1 --minCOUNT 20 --gzip --genotype \
     --chrom 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,X,Y,MT && echo " cellsnp completed." || echo "cellsnp failed."

Looking forward to your reply, I would appreciate it

@hxj5
Copy link
Collaborator

hxj5 commented Oct 19, 2024

Hi, the --chrom option will be ignored in mode 1a.

The outputted SNPs of mode 1a depends on the input SNPs specified by -R, hence you may need to include the SNPs of chromosome 'X', 'Y', 'MT' in the input VCF. Here I assume the VCF contains pig SNPs instead of human SNPs.

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