Hello,
Did you ever find a good tool to filter out SNPs with genotypes across your samples?
I am looking to do the same, filter sites that are invariant across samples that are in a single vcf file. It sounds easy but I haven't found a good tool to do so.
Are there any suggestions?
Thank you
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
Hi Jessica,
Thanks for the reply.
Bedtools intersect is not what i'm looking for. Let me clarify myself...
I have a list of SNP positions and genotype data, e.g:
Scaffold | position | sample 1 | sample 2 | sample 3
1 | 100 | 0 | 1 | 2
1 | 150 | 0 | 1 | 2
1 | 175 | 0 | 1 | 1
1 | 300 | 0 | 1 | 2
The entire line at position 150 has to be removed, because that one has identical genotypes as position 100.
Position 175 should be kept, because that one has a different genotype in sample 3 compared to position 100.
Position 300 should be kept also. Alltough it has the same genotype as position 100, it is more than 100 bp forward compared to position 100.
Leave a comment:
-
have you looked at a tool like bedIntersect on bedtools? Or are you trying to filter out only a particular allele for a given variant? For example, if there's a SNP that can be either A, G, or T, are you trying to remove that variant from your vcf altogether or do you just want to remove anything that's been called as an A?
Leave a comment:
-
Filtering SNPs on identical genotype and position
Hello everyone,
I'm looking for software that is able to filter out SNPs which:
- have an identical genotype across all samples
- and are within a certain range (f.e. 100 bp)
Preferably it should work on VCF files, but other suggestions are fine too.
It shouldn’t be too hard to script this myself, but it would be great if someone knows an available tool for this.
Thanks!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: