i am trying to forge a BSgenome by following https://www.bioconductor.org/packages/devel/bioc/vignettes/BSgenome/inst/doc/BSgenomeForge.pdf. However, i have trouble to prepare the seed file.
Just wondering whether you have any suggestions on preparing a seed file (DCF format - Debian Control File), which is also the format used for the DESCRIPTION file of any R package. The seed file contains all the information needed by the forgeBSgenomeDataPkg function to forge the target package. I watched a few tutorials about generate DESCRIPTION file of R package. But it seems that the DESCRITION files normally come with the process of writing a R package. So I am not clear about how to generate a DESCRIPTION file separately and then to save in a folder I need.
The manual of BSgenomeForge https://www.bioconductor.org/packages/devel/bioc/vignettes/BSgenome/inst/doc/BSgenomeForge.pdf suggests to prepare a seed file first. But I could not find much information about how to generate a seed file. I could only see the sample seed files and I knew the information I want to put in the seed file (as attached), but I do not know how to generate a DCF file of my own. Just wondering whether you have any suggestions.
seed_files <- system.file("extdata", "GentlemanLab", package="BSgenome")
Display seed file for musFur1:
musFur1_seed <- list.files(seed_files, pattern="\.musFur1-seed$", full.names=TRUE)
Error in if (fold) formatDL(rep.int(tag, length(val)), val, style = "list", :
missing value where TRUE/FALSE needed
write.dcf(musFur1_seed, all = TRUE)
Error in write.dcf(musFur1_seed, all = TRUE) :
unused argument (all = TRUE)