I have a BED file from an external data source that is tab-separated with spaces in the name field for some rows. These fields are not quoted. Looking at the code for rtracklayer::import.bed, it seems to use read.table with the default separator argument and no option to change it, which means all whitespace is treated as field separators. This causes the import to fail. Would it be possible to add an option to specify the separator when importing BED files?
Question: Can rtracklayer import tab-delimited BED files with unquoted spaces in fields?
12 months ago by
Ryan C. Thompson ♦ 6.8k
The Scripps Research Institute, La Jolla, CA
Ryan C. Thompson ♦ 6.8k wrote:
ADD COMMENT • link •
Please log in to add an answer.
Powered by Biostar version 2.2.0
Traffic: 350 users visited in the last hour