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
              Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
              by SEQadmin2



              Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

              Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
              ...
              10-14-2026, 09:55 AM
            • SEQadmin2
              New Genomics Technologies Take Aim at Long-Standing Limits
              by SEQadmin2


              Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

              We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
              ...
              09-28-2026, 10:25 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 11:13 AM
            0 responses
            21 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 10:48 AM
            0 responses
            18 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            42 views
            0 reactions
            Last Post SEQadmin2  
            Working...