Mercurial > repos > iuc > sra_tools
annotate sam_dump.xml @ 7:52a8ae1be0d5 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
| author | iuc |
|---|---|
| date | Wed, 10 May 2017 10:45:27 -0400 |
| parents | de3b6a854c0a |
| children | 4190f26dd5e6 |
| rev | line source |
|---|---|
|
7
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
1 <tool id="sam_dump" name="Extract reads in BAM" version="@VERSION@.2"> |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
2 <description>format from NCBI SRA</description> |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
3 <macros> |
|
20da3b075bbf
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> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
5 </macros> |
|
20da3b075bbf
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"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
7 <version_command>sam-dump --version</version_command> |
|
4
de3b6a854c0a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4091428e9e28ca06263bc00cdf938d20f620aa4d
iuc
parents:
3
diff
changeset
|
8 <command detect_errors="exit_code"> |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
9 <![CDATA[ |
|
1
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
10 #if $input.input_select=="file_list": |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
11 for acc in `cat $input.file_list` ; |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
12 do |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
13 #elif $input.input_select=="accession_number": |
|
7
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
14 acc="${input.accession}" && |
|
1
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
15 #end if |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
16 |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
17 #if $input.input_select=="file_list" or $input.input_select=="accession_number": |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
18 [ ""\$acc" =~ ^[E|S|D]RR[0-9]{1,}$" ] && ( |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
19 #end if |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
20 |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
21 |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
22 |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
23 ## Need to set the home directory to the current working directory, |
|
2
6aa2efbe5920
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
24 ## else the tool tries to write to home/.ncbi and fails when used |
|
6aa2efbe5920
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
25 ## with a cluster manager. |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
26 export HOME=\$PWD && |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
27 vdb-config --restore-defaults && |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
28 vdb-config -s "/repository/user/main/public/root=\$PWD" && |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
29 ## Do not use prefetch if region is specified, to avoid downloading |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
30 ## the complete sra file. |
|
20da3b075bbf
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.region ) == "" ): |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
32 ASCP_PATH=`command -v ascp` && |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
33 ASCP_KEY=`dirname \$ASCP_PATH`/asperaweb_id_dsa.openssh || true && |
|
3
62367c99119d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit f30369bef4e2cef17395cdd62ce81768c93f5edd
iuc
parents:
2
diff
changeset
|
34 prefetch -X 200G --ascp-path "\$ASCP_PATH|\$ASCP_KEY" "\$acc" && |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
35 ## Duplicate vdb-config, in case settings changed between prefetch and |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
36 ## dump command. |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
37 vdb-config -s "/repository/user/main/public/root=\$PWD" && |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
38 #end if |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
39 sam-dump --log-level fatal --disable-multithreading |
|
20da3b075bbf
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.region ) != "": |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
41 --aligned-region "$adv.region" |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
42 #end if |
|
20da3b075bbf
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.matepairDist ) != "": |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
44 --matepair-distance "$adv.matepairDist" |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
45 #end if |
|
20da3b075bbf
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.minMapq ) != "": |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
47 --min-mapq "$adv.minMapq" |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
48 #end if |
|
20da3b075bbf
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.header ) == "yes": |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
50 --header |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
51 #else: |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
52 --no-header |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
53 #end if |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
54 #if str( $adv.alignments ) == "both": |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
55 --unaligned |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
56 #end if |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
57 #if str( $adv.alignments ) == "unaligned": |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
58 --unaligned-spots-only |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
59 #end if |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
60 #if (str( $adv.primary ) == "yes") and (str ( $adv.alignments != "unaligned") ): |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
61 --primary |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
62 #end if |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
63 #if $input.input_select == "file": |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
64 "$input.file" |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
65 #elif $input.input_select == "accession_number": |
|
1
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
66 "\$acc" |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
67 #elif $input.input_select=="file_list": |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
68 "\$acc" |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
69 #end if |
|
2
6aa2efbe5920
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
70 |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
71 #if str( $outputformat ) == "bam": |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
72 | samtools view -Sb - 2> /dev/null |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
73 #end if |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
74 #if $input.input_select == "file": |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
75 > "$output_file" |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
76 #elif $input.input_select == "accession_number": |
|
1
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
77 > "$output_accession" ) |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
78 #end if |
|
1
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
79 |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
80 #if $input.input_select=="file_list": |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
81 #if str( $outputformat ) == "bam": |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
82 > "\$acc.bam" |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
83 #elif str( $outputformat ) == "sam": |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
84 > "\$acc.sam" |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
85 #end if |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
86 ) ; done |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
87 #end if |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
88 |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
89 |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
90 ]]> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
91 </command> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
92 <inputs> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
93 <expand macro="input_conditional"/> |
|
7
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
94 <param name="outputformat" type="select" display="radio" label="select output format" help="In vast majority of cases you want to download data in bam format. It is more compact and is accepted by all downstream tools."> |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
95 <option value="bam">bam</option> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
96 <option value="sam">sam</option> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
97 </param> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
98 <section name="adv" title="Advanced Options" expanded="False"> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
99 <param name="header" type="select" value="yes"> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
100 <label>output header</label> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
101 <option value="yes">Yes</option> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
102 <option value="no">No</option> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
103 </param> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
104 <expand macro="alignments"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
105 <expand macro="region"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
106 <expand macro="matepairDist"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
107 <param name="primary" type="select" value="no"> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
108 <label>only primary aligments</label> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
109 <option value="no">No</option> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
110 <option value="yes">Yes</option> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
111 </param> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
112 <expand macro="minMapq"></expand> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
113 </section> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
114 </inputs> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
115 <outputs> |
|
7
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
116 <collection name="output_collection" type="list" label="SAM/BAM data (fastq-dump)"> |
|
1
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
117 <filter>input['input_select'] == "file_list"</filter> |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
118 <discover_datasets pattern="(?P<designation>.+)\.bam" directory="." ext='bam'/> |
|
069a879beef7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 8550e0c7389533bebc75d7a93b89a3e59fe77bcd
iuc
parents:
0
diff
changeset
|
119 <discover_datasets pattern="(?P<designation>.+)\.sam" directory="." ext='sam'/> |
|
2
6aa2efbe5920
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 4e83a7f6d542cd3129eb14a142f74c127f91d026
iuc
parents:
1
diff
changeset
|
120 </collection> |
|
7
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
121 <data name="output_accession" format="bam" label="${input.accession} (sam-dump)"> |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
122 <filter>input['input_select'] == "accession_number"</filter> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
123 <change_format> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
124 <when input="outputformat" value="sam" format="sam"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
125 </change_format> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
126 </data> |
|
7
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
127 <data name="output_file" format="bam" label="${input.file.name} (sam-dump)"> |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
128 <filter>input['input_select'] == "file"</filter> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
129 <change_format> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
130 <when input="outputformat" value="sam" format="sam"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
131 </change_format> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
132 </data> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
133 </outputs> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
134 <tests> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
135 <test> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
136 <param name="input_select" value="accession_number"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
137 <param name="accession" value="SRR925743"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
138 <param name="outputformat" value="sam"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
139 <param name="region" value="17:41243452-41277500"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
140 <output name="output_accession" file="sam_dump_result.sam" compare="contains" ftype="sam"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
141 </test> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
142 </tests> |
|
7
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
143 <help><![CDATA[ |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
144 **What it does?** |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
145 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
146 This tool extracts data (in BAM_ format) from the Short Read Archive (SRA) at the National Center for Biotechnology Information (NCBI). It is based on the sam-dump_ utility of the SRA Toolkit. |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
147 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
148 **How to use it?** |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
149 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
150 There are three ways in which you can download data: |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
151 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
152 1. Data for single accession |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
153 2. Multiple datasets using a list of accessions |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
154 3. Extract data from already uploaded SRA dataset |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
155 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
156 Below we discuss each in detail. |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
157 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
158 ------ |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
159 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
160 **Uploading data for a single accession** |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
161 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
162 When you type a single accession number (e.g., `SRR1582967`) into **Accession** box and click **Execute** the tool will fetch data for you. As a result you will get a single BAM (or SAM) dataset in the history. |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
163 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
164 ----- |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
165 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
166 **Uploading multiple datasets using a list of accessions** |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
167 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
168 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: |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
169 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
170 1. Upload it into your history using Galaxy's upload tool |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
171 2. Once the list of accessions is uploaded choose *List of SRA accessions, one per line* from **select input type** dropdown |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
172 3. Choose uploaded file within the **sra accession list** field |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
173 4. Click **Execute** |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
174 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
175 .. class:: warningmark |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
176 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
177 BAM datasets produced by this option will be saved in Galaxy's history as a collection_ - a single history element containing multiple datasets. |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
178 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
179 ----- |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
180 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
181 **Extract data from already uploaded SRA dataset** |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
182 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
183 If a SRA dataset is present in the history, it can be converted into BAM 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 a single BAM dataset will be generated in the history. |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
184 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
185 @ACCESSION_LIST_HOWTO@ |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
186 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
187 ----- |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
188 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
189 .. _BAM: https://samtools.github.io/hts-specs/SAMv1.pdf |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
190 .. _sam-dump: http://ncbi.github.io/sra-tools/sam-dump.html |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
191 .. _collection: https://galaxyproject.org/tutorials/collections/ |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
192 .. _link: http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=studies |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
193 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
194 |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
195 @SRATOOLS_ATTRRIBUTION@ |
|
52a8ae1be0d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d1347141d384ed404f674d7ce408b6769e763ea1
iuc
parents:
4
diff
changeset
|
196 ]]></help> |
|
0
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
197 <expand macro="citation"/> |
|
20da3b075bbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit d555f296be01d0c0fa5ac28d28a48cf4ada98297
iuc
parents:
diff
changeset
|
198 </tool> |
