Mercurial > repos > iuc > sra_tools
annotate fastq_dump.xml @ 3:4732693f4661 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit f30369bef4e2cef17395cdd62ce81768c93f5edd
author | iuc |
---|---|
date | Tue, 18 Oct 2016 14:54:40 -0400 |
parents | f256cb398262 |
children | 62e4d56ebb6f |
rev | line source |
---|---|
3
4732693f4661
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit f30369bef4e2cef17395cdd62ce81768c93f5edd
iuc
parents:
2
diff
changeset
|
1 <tool id="fastq_dump" name="Extract reads" version="@VERSION@"> |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
2 <description>in FASTQ/A format from NCBI SRA.</description> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
3 <macros> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
4 <import>sra_macros.xml</import> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
5 </macros> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
7 <stdio> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
8 <exit_code range="127" level="fatal" description="Could not locate fastq-dump binary"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
9 </stdio> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
10 <version_command>fastq-dump --version</version_command> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
11 <command> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
12 <![CDATA[ |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
13 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
14 #if $input.input_select=="file_list": |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
15 for acc in `cat $input.file_list` ; |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
16 do |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
17 #elif $input.input_select=="accession_number": |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
18 acc="$input.accession" && |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
19 #end if |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
20 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
21 #if $input.input_select=="file_list" or $input.input_select=="accession_number": |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
22 [ ""\$acc" =~ ^[E|S|D]RR[0-9]{1,}$" ] && ( |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
23 #end if |
2
f256cb398262
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
24 |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
25 ## Need to set the home directory to the current working directory, |
2
f256cb398262
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
26 ## else the tool tries to write to home/.ncbi and fails when used |
f256cb398262
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
27 ## with a cluster manager. |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
28 export HOME=\$PWD && |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
29 vdb-config --restore-defaults && |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
30 #if $input.input_select == "file": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
31 fastq-dump --log-level fatal --accession '${input.file.name}' |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
32 #else: |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
33 vdb-config -s "/repository/user/main/public/root=\$PWD" && |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
34 ## Do not use prefetch if region is specified, to avoid downloading |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
35 ## the complete sra file. |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
36 #if ( str( $adv.region ) == "" ) and ( str( $adv.minID ) == "" ) and ( str( $adv.maxID ) == "" ): |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
37 ASCP_PATH=`command -v ascp` && |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
38 ASCP_KEY=`dirname \$ASCP_PATH`/asperaweb_id_dsa.openssh || true && |
3
4732693f4661
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit f30369bef4e2cef17395cdd62ce81768c93f5edd
iuc
parents:
2
diff
changeset
|
39 prefetch -X 200G --ascp-path "\$ASCP_PATH|\$ASCP_KEY" "\$acc" && |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
40 ## Duplicate vdb-config, in case settings changed between prefetch and |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
41 ## dump command. |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
42 vdb-config -s "/repository/user/main/public/root=\$PWD" && |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
43 #end if |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
44 fastq-dump --accession "\$acc" |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
45 --split-files |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
46 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
47 --defline-seq '@\$sn[_\$rn]/\$ri' |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
48 |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
49 $adv.split |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
50 #if str( $adv.alignments ) == "aligned": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
51 --aligned |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
52 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
53 #if str( $adv.alignments ) == "unaligned": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
54 --unaligned |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
55 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
56 #if str( $adv.minID ) != "": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
57 --minSpotId "$adv.minID" |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
58 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
59 #if str( $adv.maxID ) != "": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
60 --maxSpotId "$adv.maxID" |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
61 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
62 #if str( $adv.minlen ) != "": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
63 --minReadLen "$adv.minlen" |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
64 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
65 #if str( $adv.readfilter ) != "": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
66 --read-filter "$adv.readfilter" |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
67 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
68 #if str( $adv.region ) != "": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
69 --aligned-region "$adv.region" |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
70 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
71 #if str( $adv.spotgroups ) != "": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
72 --spot-groups "$adv.spotgroups" |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
73 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
74 #if str( $adv.matepairDist ) != "": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
75 --matepair-distance "$adv.matepairDist" |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
76 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
77 $adv.clip |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
78 $adv.skip_technical |
2
f256cb398262
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
79 |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
80 #if str( $outputformat ) == "fasta": |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
81 --fasta |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
82 #end if |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
83 #if $input.input_select=="file": |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
84 --stdout |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
85 "$input.file" > "$output_file" |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
86 #elif $input.input_select=="file_list": |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
87 "\$acc" |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
88 #else: |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
89 --stdout |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
90 "\$acc" > "$output_accession" ) |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
91 #end if |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
92 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
93 #if $input.input_select=="file_list": |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
94 ) ; done |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
95 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
96 ; |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
97 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
98 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
99 #if str( $outputformat ) == "fasta": |
2
f256cb398262
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
100 |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
101 for f in *_2.fasta ; do mv "\$f" "`basename \$f _2.fasta`_reverse.fasta" ; mv "`basename \$f _2.fasta`_1.fasta" "`basename \$f _2.fasta`_forward.fasta" ; done && |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
102 for f in *_1.fasta; do mv "\$f" "`basename \$f _1.fasta`__single.fasta"; done |
2
f256cb398262
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
103 |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
104 #else: |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
105 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
106 for f in *_2.fastq ; do mv "\$f" "`basename \$f _2.fastq`_reverse.fastq" ; mv "`basename \$f _2.fastq`_1.fastq" "`basename \$f _2.fastq`_forward.fastq" ; done && |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
107 for f in *_1.fastq; do mv "\$f" "`basename \$f _1.fastq`__single.fastq"; done |
2
f256cb398262
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
108 |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
109 #end if |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
110 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
111 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
112 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
113 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
114 |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
115 #end if |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
116 |
2
f256cb398262
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
117 |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
118 ]]> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
119 </command> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
120 <inputs> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
121 <expand macro="input_conditional"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
122 <param name="outputformat" type="select" label="select output format"> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
123 <option value="fastqsanger">fastq</option> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
124 <option value="fasta">fasta</option> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
125 </param> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
126 <section name="adv" title="Advanced Options" expanded="False"> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
127 <param name="minID" type="integer" label="minimum spot ID" optional="true"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
128 <param name="maxID" type="integer" label="maximum spot ID" optional="true"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
129 <param name="minlen" type="integer" label="minimum read length" optional="true"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
130 <param name="split" type="boolean" checked="true" truevalue="--split-spot" falsevalue=""> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
131 <label>split spot by read pairs</label> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
132 </param> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
133 <expand macro="alignments"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
134 <expand macro="region"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
135 <expand macro="matepairDist"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
136 <param name="readfilter" type="select" value=""> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
137 <label>filter by value</label> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
138 <option value="">None</option> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
139 <option value="pass">pass</option> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
140 <option value="reject">reject</option> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
141 <option value="criteria">criteria</option> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
142 <option value="redacted">redacted</option> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
143 </param> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
144 <param name="spotgroups" type="text" label="filter by spot-groups" optional="true"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
145 <param name="clip" type="boolean" truevalue="--clip" falsevalue=""> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
146 <label>apply left and right clips</label> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
147 </param> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
148 <param name="skip_technical" type="boolean" truevalue="--skip-technical" falsevalue="" checked="False" label="Dump only biological reads"/> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
149 </section> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
150 </inputs> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
151 <outputs> |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
152 <collection name="list_paired" type="list:paired" label="Pair-end Fast(q|a)"> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
153 <filter>input['input_select'] == "file_list"</filter> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
154 <!-- Use named regex group to grab pattern |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
155 <identifier_0>_<identifier_1>.fq. Here identifier_0 is the list |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
156 identifier in the nested collection and identifier_1 is either |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
157 forward or reverse (for instance samp1_forward.fq). |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
158 --> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
159 <discover_datasets pattern="(?P<identifier_0>[^_]+)_(?P<identifier_1>[^_]+)\.fastq" ext="fastqsanger" visible="false" /> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
160 <discover_datasets pattern="(?P<identifier_0>[^_]+)_(?P<identifier_1>[^_]+)\.fasta" ext="fasta" visible="false" /> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
161 </collection> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
162 <collection name="output_collection" type='list' label="Single-end Fast(q|a)"> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
163 <filter>input['input_select'] == "file_list"</filter> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
164 <discover_datasets pattern="(?P<designation>.+)__single\.fastq" directory="." ext='fastqsanger'/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
165 <discover_datasets pattern="(?P<designation>.+)__single\.fasta" directory="." ext='fasta'/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
166 </collection> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
167 <data format="fastqsanger" name="output_accession" > |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
168 <filter>input['input_select'] == "accession_number"</filter> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
169 <change_format> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
170 <when input="outputformat" value="fasta" format="fasta"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
171 </change_format> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
172 </data> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
173 <data format="fastqsanger" name="output_file" label="${input.file.name}.${outputformat}"> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
174 <filter>input['input_select'] == "file"</filter> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
175 <change_format> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
176 <when input="outputformat" value="fasta" format="fasta"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
177 </change_format> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
178 </data> |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
179 </outputs> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
180 <tests> |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
181 <test> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
182 <param name="input_select" value="accession_number"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
183 <param name="outputformat" value="fastqsanger"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
184 <param name="accession" value="SRR044777"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
185 <param name="skip_technical" value="True"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
186 <output name="output_accession"> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
187 <assert_contents> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
188 <not_has_text text="rRNA_primer"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
189 <has_text text="F47USSH02GNP1D" /> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
190 </assert_contents> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
191 </output> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
192 </test> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
193 <test> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
194 <param name="input_select" value="accession_number"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
195 <param name="outputformat" value="fastqsanger"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
196 <param name="accession" value="SRR925743"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
197 <param name="maxID" value="5"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
198 <output name="output_accession" file="fastq_dump_result.fastq" ftype="fastqsanger"/> |
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
199 </test> |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
200 </tests> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
201 <help> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
202 This tool extracts reads from SRA archives using fastq-dump. |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
203 The fastq-dump program is developed at NCBI, and is available at |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
204 http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=software. |
2
f256cb398262
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
205 |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
206 NB: Single-end or pair-end collections may be empty if given SRRs LibraryLayout contains only either SINGLE or PAIRED respectively |
0
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
207 @SRATOOLS_ATTRRIBUTION@ |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
208 </help> |
b723c120161a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
209 <expand macro="citation"/> |
1
462ee06c9358
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents:
0
diff
changeset
|
210 </tool> |