Mercurial > repos > mvdbeek > sra_tools
annotate fastq_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 |
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="fastq_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 FASTQ/A 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 #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
|
15 fastq-dump --log-level fatal --accession '${input.file.name}' |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
16 #else: |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
17 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
|
18 ## 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
|
19 ## 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
|
20 #if ( str( $adv.region ) == "" ) and ( str( $adv.minID ) == "" ) and ( str( $adv.maxID ) == "" ): |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
21 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
|
22 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
|
23 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
|
24 #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
|
25 ## 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
|
26 ## 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
|
27 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
|
28 fastq-dump --accession "$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
|
29 #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
|
30 --defline-seq '@\$sn[_\$rn]/\$ri' |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
31 --stdout |
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.split ) == "yes": |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
33 --split-spot |
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.alignments ) == "aligned": |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
36 --aligned |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
37 #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
|
38 #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
|
39 --unaligned |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
40 #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
|
41 #if str( $adv.minID ) != "": |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
42 --minSpotId "$adv.minID" |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
43 #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
|
44 #if str( $adv.maxID ) != "": |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
45 --maxSpotId "$adv.maxID" |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
46 #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
|
47 #if str( $adv.minlen ) != "": |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
48 --minReadLen "$adv.minlen" |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
49 #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
|
50 #if str( $adv.readfilter ) != "": |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
51 --read-filter "$adv.readfilter" |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
52 #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
|
53 #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
|
54 --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
|
55 #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
|
56 #if str( $adv.spotgroups ) != "": |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
57 --spot-groups "$adv.spotgroups" |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
58 #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
|
59 #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
|
60 --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
|
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 #if $adv.clip == "yes": |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
63 --clip |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
64 #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
|
65 #if str( $outputformat ) == "fasta": |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
66 --fasta |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
67 #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
|
68 #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
|
69 "$input.file" > "$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
|
70 #else: |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
71 "$input.accession" > "$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
|
72 #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
|
73 ]]> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
74 </command> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
75 <version_string>fastq-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
|
76 <inputs> |
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="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
|
78 <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
|
79 <option value="fastqsanger">fastq</option> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
80 <option value="fasta">fasta</option> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
81 </param> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
82 <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
|
83 <param name="minID" type="integer" label="minimum spot ID" optional="true"/> |
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 name="maxID" type="integer" label="maximum spot ID" optional="true"/> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
85 <param name="minlen" type="integer" label="minimum read length" optional="true"/> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
86 <param name="split" 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
|
87 <label>split spot by read pairs</label> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
88 <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
|
89 <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
|
90 </param> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
91 <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
|
92 <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
|
93 <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
|
94 <param name="readfilter" type="select" value=""> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
95 <label>filter by value</label> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
96 <option value="">None</option> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
97 <option value="pass">pass</option> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
98 <option value="reject">reject</option> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
99 <option value="criteria">criteria</option> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
100 <option value="redacted">redacted</option> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
101 </param> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
102 <param name="spotgroups" type="text" label="filter by spot-groups" optional="true"/> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
103 <param name="clip" 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
|
104 <label>apply left and right clips</label> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
105 <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
|
106 <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
|
107 </param> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
108 </section> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
109 </inputs> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
110 <outputs> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
111 <data format="fastq" name="output_accession" 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
|
112 <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
|
113 <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
|
114 <when input="outputformat" value="fasta" format="fasta"/> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
115 </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
|
116 </data> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
117 <data format="fastq" name="output_file" 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
|
118 <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
|
119 <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
|
120 <when input="outputformat" value="fasta" format="fasta"/> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
121 </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
|
122 </data> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
123 </outputs> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
124 <stdio> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
125 <exit_code range="127" level="fatal" description="Could not locate fastq-dump binary"/> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
126 </stdio> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
127 <tests> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
128 <test> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
129 <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
|
130 <param name="outputformat" value="fastqsanger"/> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
131 <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
|
132 <param name="maxID" value="5"/> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
133 <output name="output_accession" file="fastq_dump_result.fastq" ftype="fastq"/> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
134 </test> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
135 </tests> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
136 <help> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
137 This tool extracts reads from SRA archives using fastq-dump. |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
138 The fastq-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
|
139 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
|
140 @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
|
141 </help> |
9f74a22d2060
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sra-tools commit 70fadb7e8972b1db550d0e067584930ce1ec8673-dirty
mvdbeek
parents:
diff
changeset
|
142 </tool> |