Bioconductor / GenomicRanges

Representation and manipulation of genomic intervals
https://bioconductor.org/packages/GenomicRanges
41 stars 17 forks source link

coercion from character vector to GRanges does not report the faulty string #20

Open hpages opened 5 years ago

hpages commented 5 years ago

In case of a long character vector x, it can be hard for the user to identify the faulty string(s) when as(x, "GRanges") fails. Would be nice if the error message was more informative e.g. by reporting the index and value of the 1st faulty element in x.