I was trying to generate summary stats with the following run but encountered the following error:
slidingRuns <- slidingRUNS.run(genotypeFile = genotypeFilePath, mapFile = mapFilePath, windowSize = 15, threshold = 0.05, minSNP = 20, ROHet = FALSE, maxOppWindow = 1, maxMissWindow = 1, maxGap = 10^6, minLengthBps = 250000, minDensity = 1/10^3, maxOppRun = NULL,maxMissRun = NULL)
pesummaryList <- summaryRuns(runs = slidingRuns, mapFile = pemapFilePath, genotypeFile = pegenotypeFilePath, Class = 6, snpInRuns = TRUE)
Checking files...
Using class: 6
Total genome length: 274744571
calculating Froh on all genome
Total genome length: 274744571
calculating Froh chromosome by chromosome
Error in names(x) <- value :
'names' attribute [2] must be the same length as the vector [1]
To Reproduce
I am working with the output from BCFtools but also encountered the same error after using the native slidingRUNS.run function. Please find the .map and .ped here:
https://drive.google.com/drive/folders/1oMJdU2tEf1XcLOHEbtEGL8Q9vsDb6K5l?usp=sharing
detectRUNS version
-v 0.9.6
platform
platform x86_64-conda-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 0.3
year 2020
month 10
day 10
svn rev 79318
language R
version.string R version 4.0.3 (2020-10-10)
nickname Bunny-Wunnies Freak Out
I was trying to generate summary stats with the following run but encountered the following error:
To Reproduce
I am working with the output from BCFtools but also encountered the same error after using the native slidingRUNS.run function. Please find the .map and .ped here:
https://drive.google.com/drive/folders/1oMJdU2tEf1XcLOHEbtEGL8Q9vsDb6K5l?usp=sharing
detectRUNS version
-v 0.9.6
platform
platform x86_64-conda-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 0.3
year 2020
month 10
day 10
svn rev 79318
language R
version.string R version 4.0.3 (2020-10-10)
nickname Bunny-Wunnies Freak Out