[Bioc-devel] asBam Default Destination

Martin Morgan martin.morgan at roswellpark.org
Fri Jan 6 16:20:00 CET 2017


On 01/06/2017 06:00 AM, Dario Strbenac wrote:
> Good day,
>
> The destination parameter is mandatory and has no default.
>
>> asBam(samFile)
> Error in is(path, "RsamtoolsFile") :
>   argument "destination" is missing, with no default
>
> Would a good default be the same path as as the input file, but having the suffix "bam" instead of "sam"?
>

thanks for the suggestion, this (and likewise for asSam()) is 
implemented in 1.27.11.

Martin

> --------------------------------------
> Dario Strbenac
> University of Sydney
> Camperdown NSW 2050
> Australia
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>


This email message may contain legally privileged and/or...{{dropped:2}}



More information about the Bioc-devel mailing list