vcftools has a --thin option for removing SNPs that are too close.
It also has a --max-maf for setting the maximum allowable minor-allele frequency. So setting that to 21% should give you SNPs that are in a single individual.
After that, a custom script, or Excel :-( would extract the SNPs specific for each individual, or maybe use http://snpeff.sourceforge.net/SnpSift.html ? I'm not so familiar with it but it seems like it could do what you ask.
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
bcftools for finding unique SNP
Hi,
Would appreciated some help, I am a neophyte when it comes to dealing with vcf files.
I have 5 vcf files each represented a unique individual of the same species. I would like to filter the vcf's for snps that are unique to each individual thus ending with 5 vcf one for each individual contain snp not found in any of the other vcf files. Secondly I would like to setup a filter that removes SNPs that are with 36bases of each other.
I have been using vcftools and bcftools to try and achieve the above for the unique part I have used bcftools isec -n -1 , is this correct ?
Any help would be appreciated.Tags: None
Latest Articles
Collapse
-
by seqadmin
The complexity of cancer is clearly demonstrated in the diverse ecosystem of the tumor microenvironment (TME). The TME is made up of numerous cell types and its development begins with the changes that happen during oncogenesis. “Genomic mutations, copy number changes, epigenetic alterations, and alternative gene expression occur to varying degrees within the affected tumor cells,” explained Andrea O’Hara, Ph.D., Strategic Technical Specialist at Azenta. “As...-
Channel: Articles
07-08-2024, 03:19 PM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Yesterday, 06:46 AM
|
0 responses
9 views
0 likes
|
Last Post
by seqadmin
Yesterday, 06:46 AM
|
||
Started by seqadmin, 07-24-2024, 11:09 AM
|
0 responses
26 views
0 likes
|
Last Post
by seqadmin
07-24-2024, 11:09 AM
|
||
Started by seqadmin, 07-19-2024, 07:20 AM
|
0 responses
159 views
0 likes
|
Last Post
by seqadmin
07-19-2024, 07:20 AM
|
||
Started by seqadmin, 07-16-2024, 05:49 AM
|
0 responses
127 views
0 likes
|
Last Post
by seqadmin
07-16-2024, 05:49 AM
|
Leave a comment: