<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I’m observing duplicate output lines with VEP under some cases. My test case is a VCF file with 32 variants involving 13 chromosomes. My command line is:<div><br></div><div>--buffer_size 5000 -input_file /Volumes/storage/vw/snp1_test.vcf --format vcf -output_file /Volumes/storage/vw/snp1_test.vcf.vep --force_overwrite --terms SO --sift=b --polyphen=b --condel=b --regulatory --hgnc --hgvs --protein --gene --check_ref --host localhost —no_progress</div><div><br></div><div><div>It looks like in <font class="Apple-style-span" face="'Courier New'">whole_genome_fetch</font>, at line 1437 <font class="Apple-style-span" face="'Courier New'">&print_consequences($config, \@finished_vfs)</font>is not clearing out <font class="Apple-style-span" face="'Courier New'">@finished_vfs</font> after calling <font class="Apple-style-span" face="'Courier New'">print_consequences</font> so the first time through it prints chr X, the second time chr X and chr 1, then X, 1, 2, etc.</div><div><br></div><div>adding an <font class="Apple-style-span" face="'Courier New'">undef @finished_vfs;</font> after this line seems to fix the issue.<br><div>
<span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 10px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><p class="MsoNormal"><font class="Apple-style-span" face="'Devanagari MT'" size="7"><span class="Apple-style-span" style="font-size: 27px; "><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 12px; "><br class="Apple-interchange-newline"></span></font><font class="Apple-style-span" size="5"><span class="Apple-style-span" style="font-size: 18px; ">ॐ</span></font></span></font></p></span><p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 6px; margin-left: 0px; line-height: 19px; font: normal normal normal 16px/normal Helvetica; "><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 10px; ">Michael Yourshaw</span></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal 'Lucida Grande'; "><span style="letter-spacing: 0px; ">UCLA Geffen School of Medicine</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal 'Lucida Grande'; "><span style="letter-spacing: 0px; ">Department of Human Genetics, Nelson Lab</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal 'Lucida Grande'; "><span style="letter-spacing: 0px; ">695 Charles E Young Drive S</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal 'Lucida Grande'; "><span style="letter-spacing: 0px; ">Gonda 5554</span></div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 3px; margin-left: 0px; font: normal normal normal 10px/normal 'Lucida Grande'; "><span style="letter-spacing: 0px; ">Los Angeles CA 90095-8348 USA</span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 3px; margin-left: 0px; font: normal normal normal 10px/normal 'Lucida Grande'; color: rgb(0, 0, 153); "><span style="text-decoration: underline; letter-spacing: 0px; "><a href="mailto:myourshaw@ucla.edu">myourshaw@ucla.edu</a></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 6px; margin-left: 0px; font: normal normal normal 10px/normal 'Lucida Grande'; "><span style="letter-spacing: 0px; ">970.691.8299</span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 6px; margin-left: 0px; font: normal normal normal 9px/normal 'Lucida Grande'; "><span style="letter-spacing: 0px; ">This message is intended only for the use of the addressee and may contain information that is PRIVILEGED and CONFIDENTIAL, and/or may contain ATTORNEY WORK PRODUCT. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. Thank you.</span></p><div><font class="Apple-style-span" size="1"><span class="Apple-style-span" style="font-size: 9px; "><br></span></font></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline"></span></div></span>
</div>
<br></div></div></body></html>