Error when running vg construct command.
1
0
Entering edit mode
9 months ago
thechandan94 ▴ 10

When running the command vg construct -r x.fa -v x.vcf >x.vg in Linux, it throws an error "Bad Argument. Usage: vg[-l] number". How to resolve this error?

vg • 253 views
ADD COMMENT
2
Entering edit mode
9 months ago

there is the problem with your $PATH. Either vg is not installed and or it is at the end of your $PATH .

You're currently calling another vg: https://www.unix.com/man-page/debian/1/cg/

cg - Recursively grep for a pattern and store it.

find where is installed the correct vg and prepend it to the PATH.

export PATH=/path/to/executable/vg/directory:${PATH}
ADD COMMENT
0
Entering edit mode

Thank you, Pierre Lindenbaum. vg was not installed properly. I installed it again and ran the command, it worked.

ADD REPLY

Login before adding your answer.

Traffic: 1382 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