Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making it easier to convert from IGV coordinates #22

Open
Roleren opened this issue Apr 4, 2019 · 0 comments
Open

Making it easier to convert from IGV coordinates #22

Roleren opened this issue Apr 4, 2019 · 0 comments

Comments

@Roleren
Copy link

Roleren commented Apr 4, 2019

IGV gives coordiantes as this:

"chr5:37614,351-37614537:+"

Would be nice if the GRanges string constructor would accept "," in the string.

Now this fails:

GRanges("chr5:37,614,351-37,614,537:+") #  <- There are commas in here 

#This works: 
GRanges(sub(pattern = "," , x = "chr5:37,614,351-37,614,537:+", replacement = ""))

Could this be implemented in bioc 3.9 or 3.10 ? So that copy from IGV coordinates is a 1-liner, instead of having to manually remove commas. Or is there a way this could harm the function ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant