Seqanswers Leaderboard Ad

Collapse

Announcement

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

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

  • #2
    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.
    Providing nextRAD genotyping and PacBio sequencing services. http://snpsaurus.com

    Comment

    Latest Articles

    Collapse

    • seqadmin
      New Genomics Tools and Methods Shared at AGBT 2025
      by seqadmin


      This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

      The Headliner
      The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
      03-03-2025, 01:39 PM
    • seqadmin
      Investigating the Gut Microbiome Through Diet and Spatial Biology
      by seqadmin




      The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
      02-24-2025, 06:31 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 03-03-2025, 01:15 PM
    0 responses
    181 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 02-28-2025, 12:58 PM
    0 responses
    275 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 02-24-2025, 02:48 PM
    0 responses
    663 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 02-21-2025, 02:46 PM
    0 responses
    269 views
    0 likes
    Last Post seqadmin  
    Working...
    X