annotate fastq_dump.xml @ 26:83c7d564b128 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 21f935ba50d3e4b455246c681e54d5c57c67032f"
author iuc
date Fri, 03 Sep 2021 16:17:53 +0000
parents 653e89d73fc4
children 9a776b080193
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
653e89d73fc4 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 3c5c7587a9e8f4177db5ff1390b7e29cb190eb72"
iuc
parents: 22
diff changeset
1 <tool id="fastq_dump" name="Download and Extract Reads in FASTA/Q" version="@VERSION@+galaxy0" profile="18.01">
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
2 <description>format from NCBI SRA</description>
26
83c7d564b128 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 21f935ba50d3e4b455246c681e54d5c57c67032f"
iuc
parents: 23
diff changeset
3 <expand macro="bio_tools"/>
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
4 <macros>
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
5 <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
6 </macros>
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
7 <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
8 <version_command>fastq-dump --version</version_command>
13
c38286ea7047 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 686710a7d313b828f1daed20c4055479727f2d91
iuc
parents: 9
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
18
7068f48d0ef9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d22c001db39b52ebaa54837bebe2765c17b5c876"
iuc
parents: 16
diff changeset
10 @COPY_CONFIGFILE@
13
c38286ea7047 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 686710a7d313b828f1daed20c4055479727f2d91
iuc
parents: 9
diff changeset
11 @SET_ACCESSIONS@
2
f256cb398262 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents: 1
diff changeset
12
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
13 #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
14 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
15 #else:
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
16 ## 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
17 ## 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
18 #if ( str( $adv.region ) == "" ) and ( str( $adv.minID ) == "" ) and ( str( $adv.maxID ) == "" ):
16
aad3885b3216 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 2be63abd7e4db27fa32ecbbc10d48cacb0073115"
iuc
parents: 15
diff changeset
19 prefetch -X 200000000 "\$acc" &&
1
462ee06c9358 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents: 0
diff changeset
20 #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
21 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
22 --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
23 #end if
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
24 --defline-seq '@\$sn[_\$rn]/\$ri'
8
1920e0508831 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 39ca11da7daeb3fa030fcb28e8987f8d7f24aec3
iuc
parents: 7
diff changeset
25 --defline-qual '+'
1
462ee06c9358 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents: 0
diff changeset
26
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
27 $adv.split
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
28 #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
29 --aligned
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
30 #end if
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
31 #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
32 --unaligned
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
33 #end if
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
34 #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
35 --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
36 #end if
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
37 #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
38 --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
39 #end if
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
40 #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
41 --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
42 #end if
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
43 #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
44 --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
45 #end if
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
46 #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
47 --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
48 #end if
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
49 #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
50 --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
51 #end if
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
52 #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
53 --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
54 #end if
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
55 $adv.clip
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
56 $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
57
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
58 #if str( $outputformat ) == "fastqsanger.gz":
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
59 --gzip
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
60 #elif str( $outputformat ) == "fastqsanger.bz2":
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
61 --bzip2
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
62 #end if
15
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
63
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
64 #if str($adv.table) != "":
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
65 --table $adv.table
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
66 #end if
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
67
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
68
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
69 #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
70 --stdout
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
71 "$input.file" > "$output_file"
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
72
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
73 #elif $input.input_select=="accession_number":
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
74 --stdout
1
462ee06c9358 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents: 0
diff changeset
75 "\$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
76 #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
77
462ee06c9358 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents: 0
diff changeset
78 #if $input.input_select=="file_list":
15
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
79 "\$acc"
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
80 ) ; done
1
462ee06c9358 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents: 0
diff changeset
81
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
82 ;
1
462ee06c9358 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents: 0
diff changeset
83
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
84 for i in `ls *.fast* | cut -f 1 -d '_' | uniq` ; do
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
85 count=`ls \$i* | wc -l` ;
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
86 data=(\$(ls -d \$i*));
6
30775c836c77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit ee50324111351323cc294e051a6fab1733a89ec1
iuc
parents: 4
diff changeset
87
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
88 if [ "\$count" -eq 2 ]; then
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
89 mv "\${data[0]}" "\${data[0]}"_forward.$outputformat; mv "\${data[1]}" "\${data[1]}"_reverse.$outputformat ;
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
90 elif [ "\$count" -eq 1 ]; then
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
91 mv "\${data[0]}" "\${data[0]}"__single.$outputformat ;
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
92 fi;
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
93 done
1
462ee06c9358 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents: 0
diff changeset
94
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 #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
97
2
f256cb398262 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents: 1
diff changeset
98
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
99 ]]>
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
100 </command>
18
7068f48d0ef9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d22c001db39b52ebaa54837bebe2765c17b5c876"
iuc
parents: 16
diff changeset
101 <expand macro="configfile_hack"/>
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
102 <inputs>
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
103 <expand macro="input_conditional"/>
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
104 <param name="outputformat" type="select" display="radio" label="Select output format" help="Compression will greatly reduce the amount of space occupied by downloaded data. Downstream applications such as a short-read mappers will accept compressed data as input. Consider this example: an uncoimpressed 400 Mb fastq datasets compresses to 100 Mb or 80 Mb by gzip or bzip2, respectively. " argument="--gzip --bzip2">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
105 <option value="fastqsanger.gz">gzip compressed fastq</option>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
106 <option value="fastqsanger">Uncompressed fastq</option>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
107 <option value="fastqsanger.bz2">bzip2 compressed fastq</option>
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
108 </param>
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
109 <section name="adv" title="Advanced Options" expanded="False">
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
110 <param name="minID" type="integer" label="Minimum spot ID" optional="true" help="Minimum spot id to be dumped." argument="--minSpotId"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
111 <param name="maxID" type="integer" label="Maximum spot ID" optional="true" help="Maximum spot id to be dumped." argument="--maxSpotId"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
112 <param name="minlen" type="integer" label="Minimum read length" optional="true" help="Filter by sequence length. Will dump only reads longer or equal to this value." argument="--minReadLen"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
113 <param name="split" type="boolean" checked="true" truevalue="--split-spot" falsevalue="" label="Split spot by read pairs" help="Split spots into individual reads." argument="--split-spot"/>
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
114 <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
115 <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
116 <expand macro="matepairDist"/>
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
117 <param name="readfilter" type="select" value="" label="filter by value" argument="--read-filter">
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
118 <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
119 <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
120 <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
121 <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
122 <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
123 </param>
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
124 <param name="spotgroups" type="text" label="Filter by spot-groups" optional="true" argument="--spot-groups"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
125 <param name="clip" type="boolean" truevalue="--clip" falsevalue="" argument="--clip" label="Apply left and right clips" />
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
126 <param name="skip_technical" type="boolean" truevalue="--skip-technical" falsevalue="" checked="False" label="Dump only biological reads" argument="--skip-technical"/>
15
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
127 <param name="table" label="Table name within cSRA object" type="text" value="" optional="true" help="For SRA of noisy long-reads put SEQUENCE" argument="--table"/>
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
128 </section>
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
129 </inputs>
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
130 <outputs>
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
131 <collection name="list_paired" type="list:paired" label="Pair-end data (fastq-dump)">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
132 <filter>input['input_select'] == "file_list"</filter>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
133
1
462ee06c9358 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4defaa3ff1c21e2ec39033bfe63ee69471104ede
iuc
parents: 0
diff changeset
134 <!-- 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
135 <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
136 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
137 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
138 -->
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
139
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
140 <discover_datasets pattern="(?P&lt;identifier_0&gt;[^_]+)_\d+.fastq_(?P&lt;identifier_1&gt;[^_]+)\.fastqsanger" ext="fastqsanger" />
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
141 <discover_datasets pattern="(?P&lt;identifier_0&gt;[^_]+)_\d+.fastq.gz_(?P&lt;identifier_1&gt;[^_]+)\.fastqsanger.gz" ext="fastqsanger.gz" />
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
142 <discover_datasets pattern="(?P&lt;identifier_0&gt;[^_]+)_\d+.fastq.bz2_(?P&lt;identifier_1&gt;[^_]+)\.fastqsanger.bz2" ext="fastqsanger.bz2" />
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
143 </collection>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
144 <collection name="output_collection" type='list' label="Single-end data (fastq-dump)">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
145 <filter>input['input_select'] == "file_list"</filter>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
146 <discover_datasets pattern="(?P&lt;designation&gt;.+)_\d+.fastq__single\.fastqsanger" directory="." ext='fastqsanger'/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
147 <discover_datasets pattern="(?P&lt;designation&gt;.+)_\d+.fastq.gz__single\.fastqsanger.gz" directory="." ext='fastqsanger.gz'/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
148 <discover_datasets pattern="(?P&lt;designation&gt;.+)_\d+.fastq.bz2__single\.fastqsanger.bz2" directory="." ext='fastqsanger.bz2'/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
149 </collection>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
150 <data format="fastqsanger" name="output_accession" label="${input.accession} (fastq-dump)">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
151 <filter>input['input_select'] == "accession_number"</filter>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
152 <change_format>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
153 <when input="outputformat" value="fastqsanger.gz" format="fastqsanger.gz"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
154 <when input="outputformat" value="fastqsanger.bz2" format="fastqsanger.bz2"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
155 </change_format>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
156 </data>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
157 <data format="fastqsanger" name="output_file" label="${input.file.name} (fastq-dump)">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
158 <filter>input['input_select'] == "file"</filter>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
159 <change_format>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
160 <when input="outputformat" value="fastqsanger.gz" format="fastqsanger.gz"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
161 <when input="outputformat" value="fastqsanger.bz2" format="fastqsanger.bz2"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
162 </change_format>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
163 </data>
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
164 </outputs>
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
165 <tests>
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
166 <test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
167 <param name="input_select" value="accession_number"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
168 <param name="outputformat" value="fastqsanger"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
169 <param name="accession" value="SRR044777"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
170 <param name="skip_technical" value="True"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
171 <output name="output_accession">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
172 <assert_contents>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
173 <not_has_text text="rRNA_primer"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
174 <has_text text="F47USSH02GNP1D" />
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
175 </assert_contents>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
176 </output>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
177 </test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
178 <test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
179 <param name="input_select" value="accession_number"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
180 <param name="outputformat" value="fastqsanger.gz"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
181 <param name="accession" value="SRR925743"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
182 <param name="maxID" value="5"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
183 <output name="output_accession" file="fastq_dump_result.fastq.gz" decompress="True"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
184 </test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
185 <test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
186 <param name="input_select" value="accession_number"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
187 <param name="outputformat" value="fastqsanger"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
188 <param name="accession" value="SRR925743"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
189 <param name="maxID" value="5"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
190 <output name="output_accession" file="fastq_dump_result.fastq" ftype="fastqsanger"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
191 </test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
192 <test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
193 <param name="input_select" value="file_list"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
194 <param name="outputformat" value="fastqsanger"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
195 <param name="file_list" value="list_pe"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
196 <param name="maxID" value="5"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
197 <output_collection name="list_paired" type="list:paired">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
198 <element name="DRR015708">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
199 <element name="forward" file="DRR015708_forward.fastqsanger">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
200 </element>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
201 <element name="reverse" file="DRR015708_reverse.fastqsanger">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
202 </element>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
203 </element>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
204 </output_collection>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
205 </test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
206 <test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
207 <param name="input_select" value="file_list"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
208 <param name="outputformat" value="fastqsanger"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
209 <param name="file_list" value="list_pe2"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
210 <param name="maxID" value="5"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
211 <output_collection name="list_paired" type="list:paired">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
212 <element name="ERR027433">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
213 <element name="forward" file="ERR027433_forward.fastqsanger">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
214 </element>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
215 <element name="reverse" file="ERR027433_reverse.fastqsanger">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
216 </element>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
217 </element>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
218 </output_collection>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
219 </test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
220 <test>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
221 <param name="input_select" value="file_list"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
222 <param name="outputformat" value="fastqsanger"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
223 <param name="file_list" value="list_se"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
224 <param name="maxID" value="5"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
225 <output_collection name="output_collection" type="list">
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
226 <element name="SRR1993644" file="SRR1993644.fastqsanger"/>
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
227 </output_collection>
15
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
228 </test>
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
229 <test>
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
230 <param name="input_select" value="accession_number"/>
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
231 <param name="outputformat" value="fastqsanger.gz"/>
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
232 <param name="accession" value="SRR6982805"/>
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
233 <param name="maxID" value="2"/>
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
234 <param name="table" value="SEQUENCE"/>
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
235 <output name="output_accession" file="SRR6982805.fastqsanger.gz" ftype="fastqsanger.gz" decompress="True"/>
f5ea3ce9b9b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
iuc
parents: 13
diff changeset
236 </test>
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
237 </tests>
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
238 <help><![CDATA[
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
239 **What it does?**
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
240
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
241 This tool extracts data (in fastq_ format) from the Short Read Archive (SRA) at the National Center for Biotechnology Information (NCBI). It is based on the fastq-dump_ utility of the SRA Toolkit.
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
242
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
243 **How to use it?**
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
244
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
245 There are three ways in which you can download data:
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
246
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
247 1. Data for single accession
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
248 2. Multiple datasets using a list of accessions
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
249 3. Extract data from already uploaded SRA dataset
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
250
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
251 Below we discuss each in detail.
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
252
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
253 ------
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
254
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
255 **Uploading data for a single accession**
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
256
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
257 When you type a single accession number (e.g., `SRR1582967`) into **Accession** box and click **Execute** the tool will fetch data for you. It is important to keep the following in mind:
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
258
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
259 - if data is paired-ended (or mate-paired) the tool will generate a single *interleaved* dataset, in which forward and reverse mates are alternating (see an example dataset below)
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
260 - if data is single ended, a standard single fastq dataset will be produced
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
261
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
262 -----
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
263
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
264 **Uploading multiple datasets using a list of accessions**
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
265
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
266 A more realistic scenario is when you want to upload a number of datasets at once. To do this you need a list of accession, where there is only one accession per line (see below for information on how to generate such a file). Once you have this file:
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
267
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
268 1. Upload it into your history using Galaxy's upload tool
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
269 2. Once the list of accessions is uploaded choose *List of SRA accessions, one per line* from **select input type** dropdown
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
270 3. Choose uploaded file within the **sra accession list** field
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
271 4. Click **Execute**
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
272
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
273 .. class:: warningmark
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
274
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
275 Fastq datasets produced by this option will be saved in Galaxy's history as a collection_ - a single history element containing multiple datasets. In fact, two collections will be produced: one containing paired-end data and another containing single-end data. Single-end or pair-end collections may be empty if the accessions provided in the list contain only SINGLE or PAIRED data, respectively.
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
276
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
277 -----
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
278
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
279 **Extract data from already uploaded SRA dataset**
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
280
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
281 If a SRA dataset is present in the history, it can be converted into fastq dataset by setting **select input type** drop-down to *SRA archive in current history*. Just like in the case of extracting data for single accession number the following applies:
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
282
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
283 - if data is paired-ended (or mate-pair) the tool will generate a single *interleaved* dataset, in which forward and reverse mates are alternating (see example below).
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
284 - if data is single ended, a standard fastq dataset will be produced
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
285
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
286 @ACCESSION_LIST_HOWTO@
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
287
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
288 -----
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
289
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
290 **Paired-end (and mate-pair) data in fastq format**
2
f256cb398262 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents: 1
diff changeset
291
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
292 Paired end datasets can be represented as two individual datasets:
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
293
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
294 First dataset::
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
295
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
296 @1/1
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
297 AGGGATGTGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTA
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
298 +
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
299 EGGEGGGDFGEEEAEECGDEGGFEEGEFGBEEDDECFEFDD@CDD<ED
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
300 @2/1
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
301 AGGGATGTGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTA
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
302 +
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
303 HHHHHHEGFHEEFEEHEEHHGGEGGGGEFGFGGGGHHHHFBEEEEEFG
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
304
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
305 Second dataset::
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
306
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
307 @1/2
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
308 CCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAAC
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
309 +
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
310 GHHHDFDFGFGEGFBGEGGEGEGGGHGFGHFHFHHHHHHHEF?EFEFF
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
311 @2/2
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
312 CCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAAC
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
313 +
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
314 HHHHHHHHHHHHHGHHHHHHGHHHHHHHHHHHFHHHFHHHHHHHHHHH
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
315
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
316 Or a single *interleaved* dataset::
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
317
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
318 @1/1
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
319 AGGGATGTGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTA
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
320 +
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
321 EGGEGGGDFGEEEAEECGDEGGFEEGEFGBEEDDECFEFDD@CDD<ED
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
322 @1/2
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
323 CCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAAC
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
324 +
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
325 GHHHDFDFGFGEGFBGEGGEGEGGGHGFGHFHFHHHHHHHEF?EFEFF
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
326 @2/1
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
327 AGGGATGTGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTA
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
328 +
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
329 HHHHHHEGFHEEFEEHEEHHGGEGGGGEFGFGGGGHHHHFBEEEEEFG
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
330 @2/2
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
331 CCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAAC
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
332 +
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
333 HHHHHHHHHHHHHGHHHHHHGHHHHHHHHHHHFHHHFHHHHHHHHHHH
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
334
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
335 ----
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
336
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
337
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
338 .. _fastq: https://en.wikipedia.org/wiki/FASTQ_format
26
83c7d564b128 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 21f935ba50d3e4b455246c681e54d5c57c67032f"
iuc
parents: 23
diff changeset
339 .. _fastq-dump: https://trace.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=toolkit_doc&f=fastq-dump
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
340 .. _collection: https://galaxyproject.org/tutorials/collections/
18
7068f48d0ef9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d22c001db39b52ebaa54837bebe2765c17b5c876"
iuc
parents: 16
diff changeset
341 .. _link: https://trace.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=studies
7
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
342
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
343 @SRATOOLS_ATTRRIBUTION@
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
344
c7620aa7e1f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents: 6
diff changeset
345 ]]>
0
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
346 </help>
b723c120161a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff changeset
347 <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
348 </tool>