Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #2
    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?

    Comment


    • #3
      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.

      Comment


      • #4
        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
        Last edited by htetre; 07-03-2017, 05:22 AM.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          The Impact of AI in Genomic Medicine
          by seqadmin



          Artificial intelligence (AI) has evolved from a futuristic vision to a mainstream technology, highlighted by the introduction of tools like OpenAI's ChatGPT and Google's Gemini. In recent years, AI has become increasingly integrated into the field of genomics. This integration has enabled new scientific discoveries while simultaneously raising important ethical questions1. Interviews with two researchers at the center of this intersection provide insightful perspectives into...
          02-26-2024, 02:07 PM
        • seqadmin
          Multiomics Techniques Advancing Disease Research
          by seqadmin


          New and advanced multiomics tools and technologies have opened new avenues of research and markedly enhanced various disciplines such as disease research and precision medicine1. The practice of merging diverse data from various ‘omes increasingly provides a more holistic understanding of biological systems. As Maddison Masaeli, Co-Founder and CEO at Deepcell, aptly noted, “You can't explain biology in its complex form with one modality.”

          A major leap in the field has
          ...
          02-08-2024, 06:33 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 02-28-2024, 06:12 AM
        0 responses
        24 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 02-23-2024, 04:11 PM
        0 responses
        70 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 02-21-2024, 08:52 AM
        0 responses
        79 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 02-20-2024, 08:57 AM
        0 responses
        69 views
        0 likes
        Last Post seqadmin  
        Working...
        X