PGP and Tranche: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
Line 57: Line 57:
The public PGP data are now available on [https://proteomecommons.org/tranche/ Tranche].<br/>
The public PGP data are now available on [https://proteomecommons.org/tranche/ Tranche].<br/>
To download using the command line tool: <br/>
To download using the command line tool: <br/>
   </tt>java -Xmx512m -jar Tranche-Downloader.jar -r 'PATH' PGP_HASH </tt>
   java -Xmx512m -jar Tranche-Downloader.jar -r 'PATH' PGP_HASH  


The PGP_HASH is notavailableyet. <br/>
Available on [https://proteomecommons.org/tranche/ Tranche] are the following data. Use these paths as 'PATH' in the command above  <br/>
Available on [https://proteomecommons.org/tranche/ Tranche] are the following data. Use these paths as 'PATH' in the command above  <br/>



Revision as of 17:10, 19 April 2009

About        Projects        Publications        PersonalGenomes@Home        Public Data        FAQ        Updates (12/23)


People

Tranche

In order to increase the utility of project data and make more of it available to the public, the Personal Genome Project (PGP) has launched PersonalGenomes@Home. This effort uses ProteomeCommons.org's Tranche Network for persistent storage. The Tranche Project is a free and open source file sharing tool that enables collections of computers to easily share and cite scientific data sets. Designed and built with scientists and researchers in mind, Tranche essentially solves the data sharing problem in a secure and scalable fashion.

Tranche User Account

To apply for a user account fill out the form for a ProteomeCommons User Account. Pending applications are reviewed each business day.

System Requirements

Java Runtime Environment 5.0 or later; See System Requirements

Tranche User Guide and Instructions for Up- and Downloads

A detailed user guide can be found Tranche User Guide here.

There are three ways to add or get data from the network:

  1. GUI: Go to the Tranche homepage and click "Launch Tranche". (Requires Java 5+ with Web Start)
  2. Command-line tools: See below
  3. Java API: For custom tools development

The most popular of the three is the GUI, as it is easy to use. The command-line tools are useful for automating tasks or working in headless environments, and the API is useful when integrating Tranche in a software project or for creating a custom tool

Tranche up- and downloads can be run over the command line using the upload tool and the download tool.

wget --no-check-certificate https://proteomecommons.org/tranche/files/CommandLineAddFileTool.zip  
wget --no-check-certificate https://proteomecommons.org/tranche/files/CommandLineGetFileTool.zip   

In order to use these tools you also need a login, which you can get at ProteomeCommons.org.

Download each tool, unzip the file, go into unzipped directory, type java -jar NAME.jar --help to obtain usage information. (If java is not in your system path, add it to your path or type the full path /path/to/java -jar NAME.jar --help.

For usage information java -jar Tranche-Downloader.jar --help
Download a project with a certain hash: java -jar Tranche-Downloader.jar HASH

For usage information: java -jar Tranche-Uploader.jar --help
Upload a file:
java -Xmx521m -jar Tranche-Uploader.jar -u USER.zip.encrypted -p PASSWORD -c true -t "MY TITLE" -d "MY DESCRIPTION" /home/DataForUpload

There is the option to download/upload encrypted data:
java -jar Tranche-Downloader.jar -e supersecret HASH
java -jar Tranche-Uploader.jar -u FILE.zip.encrypted -p supersecret /home/DataForDownpload

Example scripts are provided: download script and upload script.

To get notified about changes and upgrades one can join the automated tool group for command-line tools and API.

Download PGP Data from Tranche

The public PGP data are now available on Tranche.
To download using the command line tool:

  java -Xmx512m -jar Tranche-Downloader.jar -r 'PATH' PGP_HASH 

The PGP_HASH is notavailableyet.
Available on Tranche are the following data. Use these paths as 'PATH' in the command above

PGP/PGP_1/PGP_1_FC_00037/PGP_1_FC_00037_L003/
PGP/PGP_3/PGP_3_FC_00035/PGP_3_FC_00035_L003/
PGP/PGP_3/PGP_3_FC_00037/PGP_3_FC_00037_L002/
PGP/PGP_5/PGP_5_FC_00044/PGP_5_FC_00044_L002/
PGP/PGP_7/PGP_7_FC_00044/PGP_7_FC_00044_L004/
PGP/PGP_8/PGP_8_FC_00037/PGP_8_FC_00037_L001/
PGP/PGP_8/PGP_8_FC_00051/PGP_8_FC_00051_L002/
PGP/PGP_8/PGP_8_FC_00051/PGP_8_FC_00051_L006/
PGP/PGP_9/PGP_9_FC_00043/PGP_9_FC_00043_L001/
PGP/PGP_9/PGP_9_FC_00051/PGP_9_FC_00051_L003/
PGP/PGP_9/PGP_9_FC_00051/PGP_9_FC_00051_L007/
PGP/PGP_10/PGP_10_FC_00041/PGP_10_FC_00041_L003/

CONTROL/CONTROL_FC00035/CONTROL_FC00035_L001/
CONTROL/CONTROL_FC00037/CONTROL_FC00037_L008/
CONTROL/CONTROL_FC00041/CONTROL_FC00041_L001/
CONTROL/CONTROL_FC00043/CONTROL_FC00043_L001/
CONTROL/CONTROL_FC00044/CONTROL_FC00044_L001/
CONTROL/CONTROL_FC00051/CONTROL_FC00051_L001/