Opening Vcf File With Vcftools
1
1
Entering edit mode
13.4 years ago
J888 ▴ 10

Hi I just installed vcftools and I'm trying to get acquainted with it. However, I can't seem to open a file!

1 Is there something obviously wrong in the command line below?

**dhcp025000:~/Desktop/vcftools_0.1.6/cpp J888$ ./vcftools --vcf CEU.low_coverage.2010_07.genotypes.vcf

Error:Could not open VCF file: CEU.low_coverage.2010_07.genotypes.vcf**

2 Also, is there a way to run vcftools from bash without having to invoke the executable in each command? For example ./vcftools command

Many thanks in advance

vcftools vcf bash command-line • 4.6k views
ADD COMMENT
0
Entering edit mode

on ~/.bashrc, add a line like this: alias commandX="/path/to/vcftools commandx"

ADD REPLY
1
Entering edit mode
13.4 years ago
Mdeng ▴ 530

Hi,

for the second issue: You should get in touch wie these two file "~/.bashrc" and "~/.bash_profile". Sometimes it depends on your distribution, but these are the files to set environment variables. If it's getting more complex, create an alias.

with best

ADD COMMENT

Login before adding your answer.

Traffic: 2894 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6