Added DX_FILE_PROXY_URL and [dx] -> file_proxy_url setting to allow for constructing
DNAnexus paths with a custom gateway. You might want this to be able to construct valid bam
paths for samtools or IGV!
Really intersted in your own file proxy gateway? Email support@dnanexus.com to request it! ;)
Also, you're encouraged to hit up the Bioinformatics Software Engineering team at Myriad to ask
about the potential to share gateway code.
Generally, usage will look like::
$ stor url dx://proj:/folder/mypath.csv
https://dl.dnanex.us/F/D/awe1323/mypath.csv
$ export DX_FILE_PROXY_URL=https://my-dnax-proxy.example.com/gateway
$ stor url dx://proj:/folder/mypath.csv
https://my-dnax-proxy.example.com/gateway/proj/folder/mypath.csv
Now temp_url() always sets filename to virtual object name when creating temp urls, matching the docstring.
To get the old (buggy!) behavior, pass filename='' to temp_url()
Added
DX_FILE_PROXY_URL
and[dx] -> file_proxy_url
setting to allow for constructing DNAnexus paths with a custom gateway. You might want this to be able to construct valid bam paths for samtools or IGV!Really intersted in your own file proxy gateway? Email support@dnanexus.com to request it! ;) Also, you're encouraged to hit up the Bioinformatics Software Engineering team at Myriad to ask about the potential to share gateway code.
Generally, usage will look like::
temp_url()
always sets filename to virtual object name when creating temp urls, matching the docstring. To get the old (buggy!) behavior, passfilename=''
totemp_url()
TODOs: