-
Notifications
You must be signed in to change notification settings - Fork 62
Help needed: smartpca filters all SNPs #53
Description
Hello,
I need some help in understanding smartpca's output. Currently, it filters out all SNPs and I do not know why/what I need to change in the input data to avoid that.
These are my parameters:
genotypename: /path/to/pedfile.ped
snpname: /path/to/snpfile.pedsnp
indivname: /path/to/pedind.pedind
evecoutname: /path/to/test.pca.evec
evaloutname: /path/to/test.eval
altnormstyle: NO
numoutevec: 10
numoutlieriter: 0
numoutlierevec: 10
outliersigmathresh: 6
qtmode: 0
This is what is contained in the .log file:
altnormstyle: NO
numoutevec: 10
numoutlieriter: 0
numoutlierevec: 10
outliersigmathresh: 6
qtmode: 0
smartpca version: 16000
norm usedgenetic distance set from physical distance
snp order check fail; snp list not ordered: /path/to/pedsnp.pedsnp (processing continues) 2 2300 230038
zzz 8617 39740
snp order check fail; snp list not ordered: /path/to/pedsnp.pedsnp (processing continues) 2 2624 262414
zzz 8618 39741
snp order check fail; snp list not ordered: /path/to/pedsnp.pedsnp (processing continues) 2 2862 286186
zzz 8619 39742
snp order check fail; snp list not ordered: /path/to/pedsnp.pedsnp (processing continues) 2 6698 669836
zzz 8620 39743
snp order check fail; snp list not ordered: /path/to/pedsnp.pedsnp (processing continues) 2 6756 675561
zzz 8621 39744
snp order check fail; snp list not ordered: /path/to/pedsnp.pedsnp (processing continues) 2 9096 909648
zzz 8622 39745
snp order check fail; snp list not ordered: /path/to/pedsnp.pedsnp (processing continues) 2 10835 1083519
zzz 8623 39746
snp order check fail; snp list not ordered: /path/to/pedsnp.pedsnp (processing continues) 2 10984 1098352
zzz 8624 39747
snp order check fail; snp list not ordered: /path/to/pedsnp.pedsnp (processing continues) 2 12092 1209219
zzz 8625 39748
genotype file processed
number of samples used: 974 number of snps used: 74808
Using 8 threads, and partial sum lookup algorithm.
snp snp1 ignored . allelecnt: 0 missing: 0
snp snp2 ignored . allelecnt: 0 missing: 0
snp snp3 ignored . allelecnt: 0 missing: 0
snp snp4 ignored . allelecnt: 0 missing: 0
snp snp5 ignored . allelecnt: 0 missing: 0
snp snp6 ignored . allelecnt: 0 missing: 0
snp snp7 ignored . allelecnt: 0 missing: 0
snp snp8 ignored . allelecnt: 0 missing: 0
snp snp9 ignored . allelecnt: 0 missing: 0
snp snp10 ignored . allelecnt: 0 missing: 0
total number of snps killed in pass: 74808 used: 0
This is how my pedsnp file looks like (snps are ordered by position):
1 snp1 0 494589 G A
1 snp2 0 633971 T C
1 snp3 0 633990 T C
1 snp4 0 956911 A G
1 snp5 0 956912 T A
1 snp6 0 961658 G A
1 snp7 0 962441 C T
1 snp8 0 964004 G A
1 snp9 0 966556 C T
1 snp10 0 970728 G T
1 snp11 0 979128 C T
1 snp12 0 979362 G A
1 snp13 0 999551 C G
...
X snp79094 0 155900547 C T
X snp79095 0 155939723 G T
X snp79096 0 155943159 G A
X snp79097 0 155997784 G T
X snp79098 0 156003498 C G
X snp79099 0 156007531 G C
X snp79100 0 156009838 C T
X snp79101 0 156010199 G A
X snp79102 0 156025453 C T
Any help appreciated. Thanks!