gt-download-upload-wrapper

September 4, 2015 ยท View on GitHub

#Description

This tool is used to monitor and make gt-download and upload more robust.

To be use primarily with the PanCancer project.

Contained are two modules one for each uploading and downloading

#Usage

##Sample Upload

GNOS::Upload->run_upload($sub_path, $key, $max_attempts, $timeout_minutes, $ktimeout);

##Sample Download

GNOS::Download->run_download($class, $pem, $url, $file, $max_attempts, $timeout_minutes, $max_children, $rate_limit_mbytes, $ktimeout);

We are including the GNOS::Download library by using the -I flag with perl that allows you to specify a path to find the repos. Alterantively you can add the file by adding the line "use lib ;" or add the path to the @INC Environment variable.

We are also packaging the taged versions of the repo in OICR's Artifactory for use with Maven projects. This can be very useful for use with SeqWare workflows. Ask any of the developers on this project to find out where you can get the necessary XML to get the artifact with Maven.

Feel free to use these modules in your own scripts.

Currently they are intended to be used in both the BWA and VCF SeqWare Workflows for the PanCancer Project