<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Dear all,<br>
    <br>
    I have installed on my machine your recent vep API locally to use a
    home made genome in order to get SNPs annotations.<br>
    <br>
    I used the instructions on these pages:<br>
    <a class="moz-txt-link-freetext"
href="http://www.ensembl.org/info/docs/tools/vep/script/vep_cache.html#offline">http://www.ensembl.org/info/docs/tools/vep/script/vep_cache.html#offline</a><br>
    <a class="moz-txt-link-freetext"
      href="http://www.ensembl.org/info/docs/tools/vep/script/index.html">http://www.ensembl.org/info/docs/tools/vep/script/index.html</a><br>
    <br>
    My inputs are:<br>
    -> a home made reference genome in fasta file<br>
    -> a .VCF file with SNPs list on that genome<br>
    -> a .GTF file with genome annotations<br>
    <br>
    My goal is to use vep to generate a .vep file with functionnal
    annotations of my SNPs.<br>
    <br>
    For instance:<br>
    <br>
    my gtf is:<br>
    tig00000004_pilon_pilon    Pacbio    gene    231183    234374   
    .    +    .    gene_id "A";    <br>
    tig00000004_pilon_pilon    Pacbio    transcript    231183   
    234374    .    +    .    gene_id "A";transcript_id "A";    <br>
    tig00000004_pilon_pilon    Pacbio    CDS    231183    234374    .   
    +    .    gene_id "A";transcript_id "A";    <br>
    tig00000004_pilon_pilon    Pacbio    exon    231183    234374   
    .    +    .    gene_id "A";transcript_id "A";    <br>
    <br>
    ( I also tried with a .gff)<br>
    <br>
    my vcf is:<br>
    ##...<br>
    #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO   
    FORMAT  A_ATTACTCG  <br>
    tig00000004_pilon_pilon 232205  .       G       A       9881.15
    .      
    AC=8;AF=0.800;AN=10;DP=245;FS=0.000;MLEAC=8;MLEAF=0.800;MQ=60.05;QD=25.82;SOR=0.983    

    GT:AD:DP:GQ:PL  0:9,0:9:99:0,247        <br>
    <br>
    => this snp should be found in the gene "A"<br>
    <br>
    To prepare the gtf (or also .gff), I used:<br>
    grep -v "^#" test.gtf  | sort -k1,1 -k4,4n -k5,5n | bgzip -c >
    test.gtf.gz<br>
    tabix -p gtf test.gtf.gz<br>
    <br>
    my command line is:<br>
    ./vep -i test.vcf -gtf test.gtf.gz -fasta ref.fasta
    --force_overwrite<br>
    or <br>
    ./vep -i test.vcf -gff test.gff.gz -fasta ref.fasta
    --force_overwrite<br>
    <br>
    The result file is:<br>
    #Uploaded_variation     Location        Allele  Gene    Feature
    Feature_type    Consequence     cDNA_position   CDS_position   
    Protein_position        Amino_acids     Codons 
    Existing_variation      Extra<br>
    .       tig00000004_pilon_pilon:232205  A       -       -      
    -      <b> intergenic_variant</b>      -       -       -      
    -       -       -       IMPACT=MODIFIER<br>
    variant_effect_output.txt (END)<br>
    <br>
    <br>
    It does not work, it retreives only integenic variants which is
    wrong as I have some SNPs in genes...<br>
    <br>
    When I try the tools on data that I used to work on using gtf2vep.pl
    a few years ago, it does not work either....<br>
    <br>
    Could you please help me and tell me if I am doing something wrong?<br>
    <br>
    Thank you in advance.<br>
    <br>
    Best regards,<br>
    <br>
    Sabrina
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title>Signature e-mail TWB</title>
      <br>
      Sabrina
      <br>
      <br>
      <table style="max-width:800px">
        <tbody>
          <tr>
            <td>
              <table>
                <tbody>
                  <tr>
                    <td><img src="cid:part3.09090709.05050700@inra.fr"></td>
                    <td style="padding-left:15px;">
                      <p style="font-family:Helvetica, arial,
                        sans-serif; color:#9373b1; font-size:13px;
                        border-bottom:1px solid #9373b1;
                        padding-bottom:5px; margin-bottom:0px;"><strong><b>Sabrina
                            LEGOUEIX RODRIGUEZ</b></strong><br>
                        Responsable Plateau Bioinformatique<br>
                      </p>
                      <p style="font-family:Helvetica, arial,
                        sans-serif;color:#595959; font-size: 12px;
                        margin-top:7px;">Tél. : +33 (0) 5 61 28 57 92<br>
                        <a href="mailto:[MAIL]" style="color:#9373b1;
                          text-decoration:none">sabrina.legoueix@toulouse.inra.fr</a><br>
                        <a
                          href="http://www.toulouse-white-biotechnology.com/"
                          style="color:#9373b1; text-decoration:none"><a class="moz-txt-link-abbreviated" href="http://www.toulouse-white-biotechnology.com">www.toulouse-white-biotechnology.com</a></a><br>
                      </p>
                      <p style="margin-top:3px;"> <a
                          href="https://www.linkedin.com/company/2757525h"
                          style="padding-right:5px;
                          font-family:Helvetica, arial, sans-serif;
                          color:#9373b1; font-size:12px;
                          text-decoration:none"><img
                            src="cid:part6.09020305.06010300@inra.fr">
                          LinkedIn</a>    <a
                          href="https://twitter.com/TWB_Biotech"
                          style="font-family:Helvetica, arial,
                          sans-serif; color:#9373b1; font-size:12px;
                          text-decoration:none"><img
                            src="cid:part8.06090809.06080907@inra.fr">
                          Twitter</a></p>
                    </td>
                  </tr>
                </tbody>
              </table>
              <table style="border-top:1px solid
                #9373b1;border-bottom:1px solid #9373b1" width="100%">
                <tbody>
                  <tr>
                    <td align="left"><font face="Trebuchet MS, Arial,
                        Helvetica, sans-serif" size="2" color="#9373b1">TWB
                        - Parc technologique du canal • Bâtiment NAPA
                        CENTER B • 3, rue Ariane • 31520 Ramonville
                        Saint-Agne </font></td>
                  </tr>
                </tbody>
              </table>
              <br>
              <table width="100%">
                <tbody>
                  <tr>
                    <td style="font-family:arial; font-size:9px;
                      color:#999999">Ce message et ses pièces jointes
                      sont strictement personnels. Ils peuvent contenir
                      des informations confidentielles. Si vous avez
                      reçu ce message par erreur, merci d'en avertir
                      l'expéditeur et de détruire le message et les
                      documents joints. Toute utilisation des
                      informations reçues par erreur est interdite.
                      This message and the attachments are strictly
                      personal. They may contain confidential
                      information. If you have received this message in
                      error, please notify the sender and delete the
                      message and the attachments. Any use of this
                      communication received in error is prohibited. </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
    </div>
  </body>
</html>