Hi there,
I am using GenomicInteractions package to read in the bedpe file.
There are several columns for meta data and I did not find a way to add them.
if I use:
mydata<- makeGenomicInteractionsFromFile("my.bedpe" , type="bedpe", experiment_name="my test", description="test") meta<- read.table("my.bedpe") meta<- meta[, 11:13] mcols(mydata)<- meta
it throws me an error:
Error in `elementMetadata<-`(x, ..., value = value) :
replacement 'elementMetadata' value must be a DataTable object or NULL
But I can add the meta to a GRange object without problem:
gr<- anchorOne(mydata) mcols(gr)<- meta
Thanks and happy new year!
Ming
Just a side note, I saw some discussion on implementing the bedpe format in rtracklyer package http://comments.gmane.org/gmane.science.biology.informatics.conductor.devel/8445
It would be very useful for me to handle structural variants data.
Thanks,
Ming
This is now fixed thanks to Herve.
That will hopefully be in the next release of Bioconductor.
Malcolm
It's fixed in release (BioC 3.2) and devel (BioC 3.3). The fix is in S4Vectors release (0.8.6) and devel (0.9.16). If everything goes well with the build system, both versions should become available via
biocLite()
in the next 24 hours.Cheers,
H.