-
Add
Aria2
configuration to thesettings.json
configuration file. If absent,Aria2
and therefore any download/copy mechanism won't be used. Set additional security options if necessary."download": { "aria2": { "host": "localhost", "port": 6800, "secure": false, "secret": "secret_key", "path": "/jsonrpc" } }
-
Add new remote to the
remotes
section of thesettings.json
configuration file for processing direct links to the input files"directurl": { "caption": "Direct URL", "type": "files", "protocol": ["https"], # can be String also "refreshSessionInterval": 180 }
-
Run
Aria2
server following the example. Set additional security options if necessary.aria2c --enable-rpc --rpc-listen-all=false --auto-file-renaming=false --rpc-listen-port=6800 --console-log-level=debug --rpc-secret="secret_key"
-
Input should look the following way
"fastq_file": { "class": "File", "location": "PROTOCOL:///input.fastq.gz", # PROTOCOL defines the remote module to use "token": "token://cd62d3d9587e44d9a537c1444c903b59" },
Decoded token should have at least three mandatory fields:
projectId
,userId
,fileId
. Make sure to set protocol tofiles
for the remote module to process the copying from the local directory (insettings.json
).
-
Notifications
You must be signed in to change notification settings - Fork 1
Barski-lab/biowardrobe-ng
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|