convention from vcf to plink
2
0
Entering edit mode
5.5 years ago
boymin2020 ▴ 80

Hi, I want to just keep SNPs during the vcf2plink conversion, this is the command:

plink1.9 --noweb --vcf ${vcf_fil} --double-id --biallelic-only --snps-only just-acgt --make-bed --out

The error is

Error: Invalid --snps-only parameter ‘just-acgt’.

Does anyone encounter the same issue. If yes, could you tell me the solution?

plink • 2.3k views
ADD COMMENT
0
Entering edit mode

just-acgtis new to 1.9. If you're sure you're using the right version, try 'just-acgt' instead of just-acgt (pay attention to the quotes)

ADD REPLY
0
Entering edit mode

I tried, nothing changed.

ADD REPLY
0
Entering edit mode

Please use the formatting bar (especially the code option) to present your post better. You can use backticks for inline code (`text` becomes text), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.
code_formatting

ADD REPLY
0
Entering edit mode

Got it, thanks for the tips.

ADD REPLY
2
Entering edit mode
5.5 years ago

Switch to a more recent plink 1.9 build; this modifier was renamed from “no-DI” to “just-acgt” several years ago.

ADD COMMENT

Login before adding your answer.

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