Question: SNPhylo Error Help: there is no SNP and Na/NaN arguement
gravatar for N Smith
2.6 years ago by
N Smith10
N Smith10 wrote:

Hi All,

I'm trying to run snphylo on a VCF file. However, i keep getting the error

Removing 2120285 non-autosomal SNPs Error in snpgdsLDpruning(genofile, ld.threshold = ld.threshold, maf = maf.threshold, : There is no SNP! Execution halted

I added the line "-autosome.only=FALSE" and got a new error:

SNP pruning based on LD: Sliding window: 500000 basepairs, Inf SNPs |LD| threshold: 0.1 Error in opt$autosome.start:opt$autosome.end : NA/NaN argument Calls: snpgdsLDpruning -> %in% -> match Execution halted

How do I fix?

tree snphylo vcf phylogenetic • 960 views
ADD COMMENTlink modified 2.5 years ago by Biostar ♦♦ 20 • written 2.6 years ago by N Smith10
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 767 users visited in the last hour