Converting csv file to genomic ranges file
0
0
Entering edit mode
3.2 years ago

I have used the following line of code before to convert my .csv file to GRanges:

#Converting csv to GRanges 
gr <- makeGRangesFromDataFrame(Test, keep.extra.columns=TRUE)

Weirdly enough, this line is still working for an older file but no more for the new file. Here is the error that I see:

Error in .Call2("C_solve_user_SEW0", start, end, width, PACKAGE = "IRanges") :
  In range 20498: at least two out of 'start', 'end', and 'width', must
  be supplied.

I made sure the columns are same as the old file (that works).

Annotation GRanges makeGRangesFromDataFrame • 814 views
ADD COMMENT
0
Entering edit mode

Please provide some example data, right now we have no idea what Test even is. Something like head(Test) for example.

ADD REPLY

Login before adding your answer.

Traffic: 3231 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6