Entering edit mode
Hi.
I'm trying to build a custom bovine BSgenome using NCBI UMD3.1.1.
I converted 'genome.fa' to 'genome.2bit' using 'faToTwoBit' from UCSC.
In R,
> library(BSgenome) > forgeBSgenomeDataPkg("/PATH/TO/genome.2bit") Error in substr(lines, 1L, 1L) : invalid multibyte string at '<f2>x' In addition: There were 50 or more warnings (use warnings() to see the first 50)
Does it mean that the 2bit file have some problem?