Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashkot
    Member
    • Nov 2011
    • 59

    #1

    Variant Effect Predictor Line Count

    Hi all,
    I am generating a VCF file and then running the Variant Effect Predictor (VEF) tool on it. This is in return giving me a new text file with the a list of variants and its potential effects. In one of the columns is the effect such as intronic change, exonic etc.

    I wanted to get a line count for the total number of lines which have say for e.e exonic in a certain coulmn of the text file. Ideally, i would like to have a list of all variations and the number of lines for e.g.

    Exonic = 200
    Intronic = 600
    ...
    ...

    If that's too complicated then i could simply have a single entity and run it multiple times.

    Thanks in advance.
    A
  • Bukowski
    Senior Member
    • Jan 2010
    • 388

    #2
    grep -v \# VEP_Annotation_File.ann | awk '{print $14}' | awk '{count[$1]++} END {for(j in count) print count[j], j}' | sort -nr

    Works for me - but we have a modified VEP so I'm not sure the column name ($14) is the same in your case.

    Output:

    410 INTRONIC
    277 DOWNSTREAM
    138 UPSTREAM
    119 3PRIME_UTR
    99 WITHIN_NON_CODING_GENE,INTRONIC
    51 INTERGENIC
    46 NMD_TRANSCRIPT,INTRONIC
    42 REGULATORY_REGION
    28 WITHIN_NON_CODING_GENE
    24 NON_SYNONYMOUS_CODING
    15 5PRIME_UTR
    9 SPLICE_SITE,INTRONIC
    4 SYNONYMOUS_CODING
    3 NMD_TRANSCRIPT,3PRIME_UTR
    3 ESSENTIAL_SPLICE_SITE
    2 NMD_TRANSCRIPT,SYNONYMOUS_CODING
    2 CODING_UNKNOWN
    1 STOP_GAINED
    1 SPLICE_SITE,WITHIN_NON_CODING_GENE,INTRONIC
    Last edited by Bukowski; 08-07-2012, 01:04 AM.

    Comment

    • ashkot
      Member
      • Nov 2011
      • 59

      #3
      worked

      hi there,
      thank you, thats awesome, it worked.

      In one of the columns the chromosomal location is mentioned as 1:1000 (for e.g.), can this script be slightly tweaked such that i can get a list based for each chromosome, independant upon the consequence type.

      For e.g.

      chromosome 1 number of consequences
      chromosome 2 number of consequences

      thanks again.
      a
      Last edited by ashkot; 08-07-2012, 03:48 PM.

      Comment

      • Bukowski
        Senior Member
        • Jan 2010
        • 388

        #4
        You could just split your input file up into chromosomes and run it over each one couldn't you? It's all trivially achieved with a bit of shell scripting.

        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, Today, 11:13 AM
        0 responses
        11 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Today, 10:48 AM
        0 responses
        10 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        32 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        40 views
        0 reactions
        Last Post SEQadmin2  
        Working...