Hi Michael,

I realized that rtracklayer does not handle path expansion in file names
well:
export.2bit(seqs, con="~/test.2bit")
Error in .TwoBits_export(mapply(.DNAString_to_twoBit, object, seqnames),
: 
  UCSC library operation failed
In addition: Warning message:
In .TwoBits_export(mapply(.DNAString_to_twoBit, object, seqnames),  :
  Can't open ~/test.2bit to write: No such file or directory
> export.2bit(seqs, con=path.expand("~/test.2bit"))


Wouldn't it be worthwhile to add a call to path.expand directly to the
export and import functions?

Florian
-- 

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to