1
0
Entering edit mode
19 months ago
manubiomed20 ▴ 10

I am trying to create plink (.map and .ped) files and I am getting the message:

plink: unknown option "--"


I used the following command

plink -- vcf /home/lucasmalzoni/Documents/MT-20190821T182828Z-001/MT/Mutect2/4513.vcf.gz --recode --out ALS-MT

software error Tool • 549 views
1
Entering edit mode
19 months ago
ATpoint 47k

Whitespace between -- and vcf must be removed.

Side note: It is good practive to not exclusively use capital letters in the title as this indicates shouting, and to put in some effort into the title such as avoiding to use the same word twice within a title of four words. This simply shows some respect and appreciation towards the community which is driven entirely by volunteers and would indicate that you do not see this community as a walk-in service. Just saying, no offense intended.

0
Entering edit mode
    plink --vcf /home/lucasmalzoni/Documents/MT-20190821T182828Z-001/MT/VCF and Plink files/4513_MT_Filtered_Samples.vcf.gz  --recode --out ALS-MT
(C) 2005-2019 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to ALS-MT.log.
Options in effect:
--out ALS-MT
--recode

Error: --vcf only accepts 1 parameter.


.

0
Entering edit mode

take the space and still error.

0
Entering edit mode

Is this the command you used?

plink --vcf /home/lucasmalzoni/Documents/MT-20190821T182828Z-001/MT/VCF and Plink files/4513_MT_Filtered_Samples.vcf.gz --recode --out ALS-MT?

Why is there an and in the command line, I think you accidentally mixed two commands.

0
Entering edit mode

This is just the name of the subfolder.

0
Entering edit mode

Replace whitespaces by a proper delimiter such as underscore. Plink interpretes this is two arguments, which is imho one of the many reasons why whitespaces should never be used in file or folder names in a Unix environment.

0
Entering edit mode

thank you. I changed the name of the directory and it worked.