Question: Vcftools Get-Info Output Name FORMAT
0
gravatar for med_robles
4.1 years ago by
med_robles0
Brazil
med_robles0 wrote:

Hi all,

I am using the vcftools to extract data using a filter to exclude a list of snps: "list.txt".

e.g.

vcftools --vcf A.vcf --exclude-positions list.txt --out /home/new_vcfs/A-new

The file it creates is always called "A-new.recode.vcf"

Does anybody knows if there is any way of controlling the name of the output file to something like: A-new.vcf?  I do not want a point and the word record ".record" in the name of my output file name. After doing this I will merge the vcf files (more than 20).

I really appreciate your help

Regards,

Meddly

next-gen vcftool • 1.4k views
ADD COMMENTlink modified 4.1 years ago by brian@codenhance.com70 • written 4.1 years ago by med_robles0
0
gravatar for brian@codenhance.com
4.1 years ago by
United States
brian@codenhance.com70 wrote:

Hi Meddly,

How about writing to stdout and then redirecting to the filename of your choice?

vcftools --vcf A.vcf --exclude-positions list.txt --stdout > /home/new_vcfs/A-new.vcf
ADD COMMENTlink modified 4.1 years ago • written 4.1 years ago by brian@codenhance.com70
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 593 users visited in the last hour