Skip to content

Commit d9e90bf

Browse files
committed
Change deprecated plink1.9 options
1 parent f395eb9 commit d9e90bf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: bin/pique-input

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/perl -w
2-
#@(#)pique-input.pl 2021-05-26 A.J.Travis and A.Douglas
2+
#@(#)pique-input.pl 2022-01-27 A.J.Travis and A.Douglas
33

44
#
55
# PIQUE - Parallel Identification Of QTL's using EMMAX
@@ -386,7 +386,7 @@ sub recode {
386386
# convert .vcf to .ped + .map
387387
if ( $type eq "vcf" ) {
388388
must_exist("$input.vcf");
389-
plink("--recode --vcf $input.vcf --out $input");
389+
plink("--vcf $input.vcf --recode ped --out $input");
390390
}
391391

392392
# convert .tped + .tfam to .ped + .map
@@ -399,7 +399,7 @@ sub recode {
399399
# recode .ped + .map
400400
must_exist("$input.ped");
401401
must_exist("$input.map");
402-
plink("--recode12 --file $opt_i --out $output");
402+
plink("--recode 12 --file $opt_i --out $output");
403403

404404
# check output files
405405
must_exist("$output.ped");
@@ -919,7 +919,7 @@ sub transpose {
919919
if ($opt_v) {
920920
print "Transpose $prefix...\n";
921921
}
922-
plink("--recode --transpose --file $prefix --out $prefix");
922+
plink("--recode transpose --file $prefix --out $prefix");
923923
return;
924924
}
925925

Diff for: test/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#@(#)Makefile 2021-05-26 A.J.Travis and A.Douglas
1+
#@(#)Makefile 2022-01-27 A.J.Travis and A.Douglas
22

33
#
44
# PIQUE - Parallel Identification Of QTL's using EMMAX
@@ -70,7 +70,7 @@ test_vcf: test_vcf.vcf
7070
$(PIQUE-RUN) -i $@_GWAS -k IBS -c $@_GWAS.covar -n $(THREADS)
7171

7272
test_vcf.vcf: $(IPREFIX).ped $(IPREFIX).map
73-
$(PLINK) --file $(IPREFIX) --recode-vcf --out $(basename $@)
73+
$(PLINK) --file $(IPREFIX) --recode vcf --out $(basename $@)
7474

7575
ld: input
7676
$(PLINK) --file $(IPREFIX)_recode12 --r --out $(OPREFIX)_r

0 commit comments

Comments
 (0)