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
Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.
Nobel Prize for MicroRNA Discovery
This week,...-
Channel: Articles
10-07-2024, 08:07 AM -
-
by seqadmin
Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...-
Channel: Articles
09-23-2024, 06:35 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, 10-02-2024, 04:51 AM
|
0 responses
103 views
0 likes
|
Last Post
by seqadmin
10-02-2024, 04:51 AM
|
||
Started by seqadmin, 10-01-2024, 07:10 AM
|
0 responses
111 views
0 likes
|
Last Post
by seqadmin
10-01-2024, 07:10 AM
|
||
Started by seqadmin, 09-30-2024, 08:33 AM
|
1 response
114 views
0 likes
|
Last Post
by EmiTom
10-07-2024, 06:46 AM
|
||
Started by seqadmin, 09-26-2024, 12:57 PM
|
0 responses
20 views
0 likes
|
Last Post
by seqadmin
09-26-2024, 12:57 PM
|
Leave a comment: