Sure, thanks, done. The 2bit stuff is not well-charted territory...

Michael


On Thu, Dec 20, 2012 at 1:34 AM, Hahne, Florian
<florian.hahne@novartis.com>wrote:

> 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
> --
>
>

	[[alternative HTML version deleted]]

