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
It's already possible to shift bins in order to align sequences, but if one wants to align everything, for example, at a certain gene, those coordinates have to be manually precomputed and given to shift
The text was updated successfully, but these errors were encountered:
Here's a draft implementation for an anchor function. Might need some more testing - especially in multi-contig context. Ideas for additional functionality are also welcome.
pp<-# left-align on MCP genep2|> anchor(name=="MCP") +# left-align on MCP gene after flipping binsp2|> sync() |> anchor(name=="MCP") +# right-align on MCP genep2|> anchor(name=="MCP", .align="right") +# center-align on MCP + pri-hel genep2|> sync() |> anchor(name%in% c("MCP", "pri-hel"), .align="center") +# center-align by fraction on MCP and pri-hel gene (hjust-like behaviour)p2|> anchor(name%in% c("MCP", "pri-hel"), .align=.5) +# right-align by fraction after flippingp2|> sync() |> anchor(name%in% c("MCP", "pri-hel"), .align=1)
pp
It's already possible to
shift
bins in order to align sequences, but if one wants to align everything, for example, at a certain gene, those coordinates have to be manually precomputed and given toshift
The text was updated successfully, but these errors were encountered: