annotate pyega3.xml @ 0:feaf09d289f3 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
author iuc
date Fri, 30 Oct 2020 22:19:30 +0000
parents
children 95e6ae085d2e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
1 <tool id="pyega3" name="EGA Download Client" version="@VERSION@+galaxy0" profile="19.09" >
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
2 <macros>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
3 <token name="@VERSION@">3.4.0</token>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
4 </macros>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
5 <requirements>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
6 <requirement type="package" version="@VERSION@">pyega3</requirement>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
7 </requirements>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
9 #set $username = $__user__.extra_preferences.get('ega_account|username', "")
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
10 #if $username == "":
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
11 #set $username = "ega-test-data@ebi.ac.uk (default user)"
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
12 #end if
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
13 echo "Running as user: $username. Set your credentials via: User -> Preferences -> Manage Information" &&
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
14
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
15 #if $action.action_type == "list_datasets"
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
16 pyega3 -cf '$credentials'
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
17 datasets
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
18 #elif $action.action_type == "list_dataset_files"
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
19 pyega3 -cf '$credentials'
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
20 files '$action.dataset_id'
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
21 #elif $action.action_type == "download_file"
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
22 pyega3 -cf '$credentials'
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
23 fetch '$action.file_id'
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
24 #if $action.range.reference_name
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
25 --reference-name '$action.range.reference_name'
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
26 #if $action.range.start
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
27 --start $action.range.start
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
28 #end if
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
29 #if $action.range.end
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
30 --end $action.range.end
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
31 #end if
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
32 #end if
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
33 --saveto '$downloaded_file'
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
34 #end if
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
35 ]]></command>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
36 <configfiles>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
37 <configfile name="credentials"><![CDATA[
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
38 #set $password = $__user__.extra_preferences.get('ega_account|password', "")
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
39 #set $username = $__user__.extra_preferences.get('ega_account|username', "")
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
40 #if $username == "" or $password == "":
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
41 #set $username = "ega-test-data@ebi.ac.uk"
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
42 #set $password = "egarocks"
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
43 #end if
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
44 {
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
45 "username": "$username",
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
46 "password": "$password"
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
47 }
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
48 ]]></configfile>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
49 </configfiles>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
50 <inputs>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
51 <conditional name="action">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
52 <param name="action_type" type="select" label="What would you like to do?">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
53 <option value="list_datasets"> List my authorized datasets </option>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
54 <option value="list_dataset_files"> List files in a datasets </option>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
55 <option value="download_file"> Download a file </option>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
56 </param>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
57 <when value="list_dataset_files">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
58 <param name="dataset_id" type="text" optional="false" label="EGA Dataset Accession ID" help="Identifier starting with 'EGAD'. For example: EGAD00001003338">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
59 <validator type="regex" message="EGA dataset ID must be a string of numbers prefixed by 'EGAD'">EGAD[0-9]+</validator>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
60 </param>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
61 </when>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
62 <when value="list_datasets"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
63 <when value="download_file">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
64 <param name="file_id" type="text" optional="false" label="EGA File Accession Identifier" help="Identifier starting with 'EGAF'. For example: EGAF00001753735">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
65 <validator type="regex" message="EGA Accession ID must be a string of numbers prefixed by 'EGAD' (datasets) or 'EGAF' (files)">EGAF[0-9]+</validator>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
66 </param>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
67 <section name="range" title="Request a specific Genomic range?" expanded="false">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
68 <param argument="--reference-name" type="text" optional="true" label="Reference Sequence Name" help="For example 'chr1', '1', or 'chrX'. If unspecified, all data is returned." />
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
69 <param argument="--start" type="integer" optional="true" min="0" label="Start Position" help="0-based, inclusive. Only used if a reference sequence name was specified"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
70 <param argument="--end" type="integer" optional="true" min="0" label="End Position" help="0-based, exclusive. Only used if a reference sequence name was specified"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
71 </section>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
72 </when>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
73 </conditional>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
74 </inputs>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
75 <outputs>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
76 <data name="authorized_datasets" format="txt" from_work_dir="pyega3_output.log" label="${tool.name}: authorized datasets">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
77 <filter> action['action_type'] == 'list_datasets' </filter>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
78 </data>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
79 <data name="dataset_file_list" format="txt" from_work_dir="pyega3_output.log" label="${tool.name}: dataset file list">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
80 <filter> action['action_type'] == 'list_dataset_files' </filter>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
81 </data>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
82 <data name="downloaded_file" auto_format="true" label="${tool.name}: ${action.file_id} ${action.range.reference_name} ${action.range.start} ${action.range.end}">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
83 <filter> action['action_type'] == 'download_file' </filter>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
84 </data>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
85 </outputs>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
86 <tests>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
87 <test expect_num_outputs="1"><!-- list datasets with default credentials -->
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
88 <param name="action_type" value="list_datasets"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
89 <output name="authorized_datasets" ftype="txt">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
90 <assert_contents>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
91 <has_text text="pyEGA3 - EGA python client version @VERSION@"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
92 <has_text text="EGAD00001003338"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
93 </assert_contents>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
94 </output>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
95 </test>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
96 <test expect_num_outputs="1"><!-- list dataset files with default credentials -->
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
97 <param name="action_type" value="list_dataset_files"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
98 <param name="dataset_id" value="EGAD00001003338"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
99 <output name="dataset_file_list" ftype="txt">
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
100 <assert_contents>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
101 <has_text text="pyEGA3 - EGA python client version @VERSION@"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
102 <has_line_matching expression="^\[.*\]\s+File ID\s+Status\s+Bytes\s+Check sum\s+File name$"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
103 <has_text text="EGAF00001753734"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
104 </assert_contents>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
105 </output>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
106 </test>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
107 <test expect_num_outputs="1"> <!-- download a single file -->
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
108 <param name="action_type" value="download_file"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
109 <param name="file_id" value="EGAF00001775036"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
110 <output name="downloaded_file" md5="3b89b96387db5199fef6ba613f70e27c"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
111 </test>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
112 <test expect_num_outputs="1"> <!-- download a single file, with genomic range specified -->
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
113 <param name="action_type" value="download_file"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
114 <param name="file_id" value="EGAF00001753756"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
115 <param name="reference_name" value="1"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
116 <param name="start" value="100"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
117 <param name="end" value="10000"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
118 <output name="downloaded_file" ftype="bam" md5="e576a38748feec45aa45191f6e902ce2"/>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
119 </test>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
120 </tests>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
121 <help><![CDATA[
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
122 The pyEGA3 download client is a python-based tool for viewing and downloading files from authorized EGA datasets.
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
123
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
124 If you have an EGA account, you can set your EGA credentials in the user preferences menu of Galaxy. Otherwise, default EGA credentials with access to an example dataset will be used.
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
125
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
126 pyEGA3 uses the EGA Data API and has several key features:
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
127
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
128 - Files are transferred over secure https connections and received unencrypted, so no need for decryption after download.
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
129 - Downloads resume from where they left off in the event that the connection is interrupted.
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
130 - pyEGA3 supports file segmenting and parallelized download of segments, improving overall performance.
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
131 - After download completes, file integrity is verified using checksums.
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
132 - pyEGA3 implements the GA4GH-compliant htsget protocol for download of genomic ranges for data files with accompanying index files.
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
133
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
134 ]]></help>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
135 <citations>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
136 <citation type="doi">10.1038/ng.3312</citation>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
137 </citations>
feaf09d289f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pyega3 commit 3da28c7772346e1872b6d768b904305be0c61db7"
iuc
parents:
diff changeset
138 </tool>