You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I'm trying to re-use one of our standard genetic maps w/ QUILT (which in turns uses STITCH), and some of the genetic map files are generating the following error. The example (I think) stands on its own, and the extra line of R code to show that the error message (by my eye) doesn't quite track.
I think it has something to do with the genetic map not starting at 0 (presumably the 0 was lost in the liftover), but I cannot say for certain.
foo <- get_and_validate_genetic_map("ForQuilt/chr22.b38.gmap.gz")
position COMBINED_rate.cM.Mb. Genetic_Map.cM.
1 16370978 0.5018727 1.585395
2 16372046 0.4959920 1.585931
Error in validate_genetic_map(genetic_map) :
Error interpreting genetic map around row 1. Provided genetic map does not satisfy expectations. See above print. Let g be the genetic map with 3 columns. In 1-based coordinates, recall that g[iRow, 3] must equal g[iRow - 1, 3] + ( (g[iRow, 1] - g[iRow - 1, 1]) * g[iRow - 1, 2])
(1.585395 + ( (16372046-16370978)/1e6 * 0.5018727) )
[1] 1.585931
The most likely answer is that I managed to muck something up, but for the life of me I cannot see what the error is.
Can you take a look?
Thanks!
-August
The text was updated successfully, but these errors were encountered:
Hi!
I'm trying to re-use one of our standard genetic maps w/ QUILT (which in turns uses STITCH), and some of the genetic map files are generating the following error. The example (I think) stands on its own, and the extra line of R code to show that the error message (by my eye) doesn't quite track.
I think it has something to do with the genetic map not starting at 0 (presumably the 0 was lost in the liftover), but I cannot say for certain.
The most likely answer is that I managed to muck something up, but for the life of me I cannot see what the error is.
Can you take a look?
Thanks!
-August
The text was updated successfully, but these errors were encountered: