Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MurielGB
    Member
    • Oct 2013
    • 51

    #1

    Vcftools option --non-ref-ac

    Hello !

    Can someone explain the --non-ref-ac option ?

    I don't manage to get it

    What happened if I do:
    Code:
    vcftools --vcf input.vcf --non-ref-ac 1 --out outout --recode
    Thanks !!!

    Muriel
  • mastal
    Senior Member
    • Mar 2009
    • 666

    #2
    the following quote is from the manual page:


    --non-ref-ac <integer>


    'Include only sites with all Non-Reference (ALT) Allele Frequencies (af) or Counts (ac) within the range specified, and including the specified value. The default options require all alleles to meet the specified criteria, whereas the options appended with "any" require only one allele to meet the criteria. The Allele frequency is defined as the number of times an allele appears over all individuals at that site, divided by the total number of non-missing alleles at that site.'

    Comment

    • MurielGB
      Member
      • Oct 2013
      • 51

      #3
      Thanks Mastral, I checked the manual before asking the quetsion
      But I don't understand what this means...
      Sorry.

      Comment

      • mastal
        Senior Member
        • Mar 2009
        • 666

        #4
        I was about to edit my reply.

        the mannual has a list of options:

        --non-ref-af <float>
        --max-non-ref-af <float>
        --non-ref-ac <integer>
        --max-non-ref-ac <integer>

        --non-ref-af-any <float>
        --max-non-ref-af-any <float>
        --non-ref-ac-any <integer>
        --max-non-ref-ac-any <integer>

        Reading some of the previous items in the manual,
        I think '--non-ref-ac' is the minimum alternate allele count,

        and if you want a range of allowable allele counts from min to max for the alternate allele,
        then you can also set the '--max-non-ref-ac' option.

        Comment

        • MurielGB
          Member
          • Oct 2013
          • 51

          #5
          So, if I understand well, this command "--non-ref-ac 1" allows to remove sites where there is no alternative allele at all ?

          That's what I want to do, since I filtered out some individuals in my vcf, I want to get rid of invariant sites that remain (sites where there was alternative allele but after removing individuals, some may not be variant anymore).

          Comment

          • SNPsaurus
            Registered Vendor
            • May 2013
            • 525

            #6
            You could also use the --maf, which is from 0-1. It is the minimum allele frequency in the population. If you set --maf > 0 but less than 1/(num individuals), it should exclude all alternate alleles that are no longer in the population.
            Providing nextRAD genotyping and PacBio sequencing services. http://snpsaurus.com

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
              by SEQadmin2



              CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

              Despite this, “CRISPR helped turn genome editing from a specialized technique into
              ...
              07-31-2026, 11:01 AM
            • SEQadmin2
              Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
              by SEQadmin2


              Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

              The systematic characterization of the human proteome has
              ...
              07-20-2026, 11:48 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 10:35 AM
            0 responses
            7 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-06-2026, 07:41 AM
            0 responses
            25 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-03-2026, 10:13 AM
            0 responses
            45 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-31-2026, 02:55 AM
            0 responses
            48 views
            0 reactions
            Last Post SEQadmin2  
            Working...