annotate sam_dump.xml @ 0:9f74a22d2060 draft default tip

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
author mvdbeek
date Wed, 04 Nov 2015 06:57:32 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
1 <tool id="sam_dump" name="Extract reads" version="1.2.4">
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
2 <description>in SAM or BAM format from NCBI SRA.</description>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
3 <macros>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
4 <import>sra_macros.xml</import>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
5 </macros>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
6 <expand macro="requirements"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
7 <command>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
8 <![CDATA[
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
9 ## Need to set the home directory to the current working directory,
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
10 ## else the tool tries to write to home/.ncbi and fails when used
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
11 ## with a cluster manager.
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
12 export HOME=\$PWD;
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
13 vdb-config --restore-defaults;
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
14 vdb-config -s "/repository/user/main/public/root=\$PWD";
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
15 ## Do not use prefetch if region is specified, to avoid downloading
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
16 ## the complete sra file.
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
17 #if ( str( $adv.region ) == "" ):
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
18 ASCP_PATH=`which ascp`;
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
19 ASCP_KEY=`dirname \$ASCP_PATH`/asperaweb_id_dsa.openssh;
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
20 prefetch --ascp-path "\$ASCP_PATH|\$ASCP_KEY" "$input.accession";
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
21 ##Duplicate vdb-config, in case settings changed between prefetch and
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
22 ##dump command.
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
23 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
24 vdb-config -s "/repository/user/main/public/root=\$PWD";
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
25 sam-dump --log-level fatal --disable-multithreading
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
26 #if str( $adv.region ) != "":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
27 --aligned-region "$adv.region"
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
28 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
29 #if str( $adv.matepairDist ) != "":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
30 --matepair-distance "$adv.matepairDist"
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
31 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
32 #if str( $adv.minMapq ) != "":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
33 --min-mapq "$adv.minMapq"
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
34 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
35 #if str( $adv.header ) == "yes":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
36 --header
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
37 #else:
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
38 --no-header
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
39 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
40 #if str( $adv.alignments ) == "both":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
41 --unaligned
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
42 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
43 #if str( $adv.alignments ) == "unaligned":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
44 --unaligned-spots-only
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
45 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
46 #if (str( $adv.primary ) == "yes") and (str ( $adv.alignments != "unaligned") ):
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
47 --primary
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
48 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
49 #if $input.input_select == "file":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
50 "$input.file"
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
51 #elif $input.input_select == "accession_number":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
52 "$input.accession"
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
53 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
54 #if str( $outputformat ) == "bam":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
55 | samtools view -Sb - 2> /dev/null
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
56 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
57 #if $input.input_select == "file":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
58 > "$output_file"
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
59 #elif $input.input_select == "accession_number":
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
60 > "$output_accession"
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
61 #end if
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
62 ]]>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
63 </command>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
64 <version_string>sam-dump --version</version_string>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
65 <inputs>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
66 <expand macro="input_conditional"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
67 <param name="outputformat" type="select" label="select output format">
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
68 <option value="bam">bam</option>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
69 <option value="sam">sam</option>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
70 </param>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
71 <section name="adv" title="Advanced Options" expanded="False">
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
72 <param name="header" type="select" value="yes">
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
73 <label>output header</label>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
74 <option value="yes">Yes</option>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
75 <option value="no">No</option>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
76 </param>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
77 <expand macro="alignments"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
78 <expand macro="region"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
79 <expand macro="matepairDist"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
80 <param name="primary" type="select" value="no">
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
81 <label>only primary aligments</label>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
82 <option value="no">No</option>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
83 <option value="yes">Yes</option>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
84 </param>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
85 <expand macro="minMapq"></expand>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
86 </section>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
87 </inputs>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
88 <outputs>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
89 <data name="output_accession" format="bam" label="${input.accession}.${outputformat}">
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
90 <filter>input['input_select'] == "accession_number"</filter>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
91 <change_format>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
92 <when input="outputformat" value="sam" format="sam"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
93 </change_format>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
94 </data>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
95 <data name="output_file" format="bam" label="${input.file.name}.${outputformat}">
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
96 <filter>input['input_select'] == "file"</filter>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
97 <change_format>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
98 <when input="outputformat" value="sam" format="sam"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
99 </change_format>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
100 </data>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
101 </outputs>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
102 <tests>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
103 <test>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
104 <param name="input_select" value="accession_number"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
105 <param name="accession" value="SRR925743"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
106 <param name="outputformat" value="sam"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
107 <param name="region" value="17:41243452-41277500"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
108 <output name="output_accession" file="sam_dump_result.sam" ftype="sam"/>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
109 </test>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
110 </tests>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
111 <help>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
112 This tool extracts reads from sra archives using sam-dump.
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
113 The sam-dump program is developed at NCBI, and is available at
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
114 http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=software.
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
115 @SRATOOLS_ATTRRIBUTION@
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
116 </help>
9f74a22d2060 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff changeset
117 </tool>