annotate sr_bowtie_dataset_annotation.xml @ 9:6bf9de09aa74 draft

"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
author artbio
date Mon, 11 Apr 2022 00:27:41 +0000
parents 3519c2de7fac
children fd4a60fc3fca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
1 <tool id="sr_bowtie_dataset_annotation" name="Annotate smRNA dataset" version="2.7">
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
2 <description>by iterative alignments with sRbowtie</description>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
3 <requirements>
7
3bddd7ab96e3 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1010eff91c8ce7415d50adaf2f83ecc278295df8"
artbio
parents: 6
diff changeset
4 <requirement type="package" version="1.3.1">bowtie</requirement>
3bddd7ab96e3 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1010eff91c8ce7415d50adaf2f83ecc278295df8"
artbio
parents: 6
diff changeset
5 <requirement type="package" version="1.7.1">r-optparse</requirement>
3bddd7ab96e3 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1010eff91c8ce7415d50adaf2f83ecc278295df8"
artbio
parents: 6
diff changeset
6 <requirement type="package" version="3.3.5">r-ggplot2</requirement>
3bddd7ab96e3 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1010eff91c8ce7415d50adaf2f83ecc278295df8"
artbio
parents: 6
diff changeset
7 <requirement type="package" version="0.9.1">r-ggrepel</requirement>
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
8 </requirements>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
10 #if $refGenomeSource1.genomeSource == "history":
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
11 bowtie-build -f $refGenomeSource1.ownFile genome 1>/dev/null &&
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
12 #set index_path = 'genome'
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
13 #else:
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
14 #set index_path = $refGenomeSource1.index.fields.path
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
15 #end if
5
279fdd92a615 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1d30d780dc66069ae9b52c909f65d713156442b3
artbio
parents: 4
diff changeset
16
279fdd92a615 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1d30d780dc66069ae9b52c909f65d713156442b3
artbio
parents: 4
diff changeset
17 #for $i in $AdditionalQueries:
279fdd92a615 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1d30d780dc66069ae9b52c909f65d713156442b3
artbio
parents: 4
diff changeset
18 bowtie-build -f $i.ownFile $i.ownFile.name 1>/dev/null &&
279fdd92a615 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1d30d780dc66069ae9b52c909f65d713156442b3
artbio
parents: 4
diff changeset
19 #end for
279fdd92a615 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1d30d780dc66069ae9b52c909f65d713156442b3
artbio
parents: 4
diff changeset
20
4
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
21 #set method_prefix = "-v %s -k 1 --best" % str($mismatches)
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
22 #if $input[0].is_of_type('fasta'):
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
23 #set format = "-f"
4
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
24 #elif $input[0].is_of_type('fastq'):
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
25 #set format = "-q"
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
26 #end if
9
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
27
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
28 mkdir unmatched_dir &&
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
29
4
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
30 #for $file in $input:
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
31 #set sample=$file.element_identifier
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
32 bowtie -p \${GALAXY_SLOTS:-4}
4
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
33 $method_prefix
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
34 --al matched.fa
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
35 --un unmatched.fa
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
36 --suppress 6,7,8
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
37 $index_path $format $file > tabular_bowtie_output.tab &&
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
38 genome_aligned=\$(wc -l < matched.fa) &&
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
39 genome_aligned=\$(( \$genome_aligned/2)) &&
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
40 #set counter = 0
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
41 #for $i in $AdditionalQueries:
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
42 #set $counter += 1
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
43 #if $counter != 1:
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
44 #set to_align = "class_unmatched.fa"
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
45 #else:
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
46 #set to_align = "matched.fa"
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
47 #end if
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
48 touch tmp_class_matched.fa tmp_class_unmatched.fa &&
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
49 bowtie -p \${GALAXY_SLOTS:-4}
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
50 $method_prefix
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
51 --al tmp_class_matched.fa
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
52 --un tmp_class_unmatched.fa
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
53 --suppress 6,7,8
5
279fdd92a615 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1d30d780dc66069ae9b52c909f65d713156442b3
artbio
parents: 4
diff changeset
54 $i.ownFile.name $format '$to_align' > tabular_bowtie_output.tab &&
4
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
55 class_aligned=\$(( \$(wc -l < tmp_class_matched.fa)/2)) &&
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
56 class_unaligned=\$(( \$(wc -l < tmp_class_unmatched.fa)/2)) &&
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
57 echo -e "$sample\t$i.ownFile.name\t\$class_aligned\t\${genome_aligned}" >> $output &&
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
58 mv tmp_class_unmatched.fa class_unmatched.fa &&
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
59 rm tmp_class_matched.fa &&
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
60 #end for
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
61 remaining=\$(( \$(wc -l < class_unmatched.fa)/2)) &&
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
62 echo -e "$sample\tNot classified\t\${remaining}\t\${genome_aligned}" >> $output &&
9
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
63 cp class_unmatched.fa unmatched_dir/${sample}_unmatched.fasta &&
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
64 #if $format == '-q':
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
65 mv unmatched_dir/${sample}_unmatched.fasta unmatched_dir/${sample}_unmatched.fastq &&
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
66 sed -n '1~4s/^@/>/p;2~4p' unmatched_dir/${sample}_unmatched.fastq > unmatched_dir/${sample}_unmatched.fasta &&
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
67 rm unmatched_dir/${sample}_unmatched.fastq &&
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
68 #end if
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
69 #end for
9
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
70 ls -la unmatched_dir &&
3
008de522b3ea planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 53e9bab2c20411f34ac09688de2f2cc8ae8c46a4
artbio
parents: 2
diff changeset
71 Rscript $__tool_directory__/barplot.r --input $output --barplot $barplot
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
72 ]]></command>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
73 <inputs>
4
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
74 <param name="input" type="data" multiple="True" format="fasta,fastq" label="Input file: reads clipped from their adapter" help="Only with clipped, raw fasta or fastq files"/>
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
75 <param name="mismatches" type="select" label="Number of mismatches allowed" help="specify the number of mismatches allowed during alignments">
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
76 <option value="0">0</option>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
77 <option value="1" selected="true">1</option>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
78 <option value="2">2</option>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
79 <option value="3">3</option>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
80 </param>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
81 <!-- First bowtie index selection -->
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
82 <conditional name="refGenomeSource1">
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
83 <param name="genomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Bowtie Built-ins were indexed using default options">
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
84 <option value="indexed">Use a built-in index</option>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
85 <option value="history">Use one from the history</option>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
86 </param>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
87 <when value="indexed">
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
88 <param name="index" type="select" label="Select a DNA reference index" help="if your genome of interest is not listed - contact instance administrator">
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
89 <options from_data_table="bowtie_indexes"/>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
90 </param>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
91 </when>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
92 <when value="history">
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
93 <param name="ownFile" type="data" format="fasta" label="Select a fasta file, to serve as index reference" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
94 </when>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
95 </conditional>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
96 <!-- End of first bowtie index selection -->
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
97 <!-- other bowtie index selections from fasta in history (mandatory) -->
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
98 <repeat name="AdditionalQueries" title="Additional Alignment Step">
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
99 <param name="ownFile" type="data" format="fasta" label="Select a fasta file, to serve as index reference" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
100 </repeat>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
101 <!-- End of other bowtie index selections -->
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
102 </inputs>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
103 <outputs>
9
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
104 <collection name="unmatched" type="list" format="fasta" label="Annotate smRNAs: Unmatched reads">
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
105 <discover_datasets pattern="__name_and_ext__" directory="unmatched_dir" />
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
106 </collection>
3
008de522b3ea planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 53e9bab2c20411f34ac09688de2f2cc8ae8c46a4
artbio
parents: 2
diff changeset
107 <data format="tabular" name="output" label="Cascade Annotation Analysis">
008de522b3ea planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 53e9bab2c20411f34ac09688de2f2cc8ae8c46a4
artbio
parents: 2
diff changeset
108 <actions>
4
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
109 <action name="column_names" type="metadata" default="Sample,Reference Index,Number of reads, Total reads" />
3
008de522b3ea planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 53e9bab2c20411f34ac09688de2f2cc8ae8c46a4
artbio
parents: 2
diff changeset
110 </actions>
008de522b3ea planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 53e9bab2c20411f34ac09688de2f2cc8ae8c46a4
artbio
parents: 2
diff changeset
111 </data>
008de522b3ea planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 53e9bab2c20411f34ac09688de2f2cc8ae8c46a4
artbio
parents: 2
diff changeset
112 <data name="barplot" format="pdf" label="barplot from ${on_string}" />
008de522b3ea planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 53e9bab2c20411f34ac09688de2f2cc8ae8c46a4
artbio
parents: 2
diff changeset
113 </outputs>
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
114 <tests>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
115 <test>
9
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
116 <param name="input" value ="sample5.fa,sample4.fa,sample3.fa,sample2.fa,sample1.fa" ftype="fasta" />
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
117 <param name="genomeSource" value="history" />
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
118 <param name="ownFile" value ="2L-tail.fa" ftype="fasta" />
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
119 <param name="AdditionalQueries_0|ownFile" value="dme_miR21_hairpin.fa" ftype="fasta" />
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
120 <param name="AdditionalQueries_1|ownFile" value="Ensembl_transposon_set.fa" ftype="fasta" />
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
121 <output name="output" ftype="tabular" file="multisample5_output.tab" />
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
122 <output name="barplot" ftype="pdf" file="multisample5_output.pdf" compare="sim_size" delta="500" />
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
123 <output_collection name="unmatched" type="list" count="5">
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
124 <element name="sample5.fa_unmatched" file="unmatched_5.fa" ftype="fasta"/>
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
125 <element name="sample4.fa_unmatched" file="unmatched_4.fa" ftype="fasta"/>
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
126 <element name="sample3.fa_unmatched" file="unmatched_3.fa" ftype="fasta"/>
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
127 <element name="sample2.fa_unmatched" file="unmatched_2.fa" ftype="fasta"/>
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
128 <element name="sample1.fa_unmatched" file="unmatched_1.fa" ftype="fasta"/>
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
129 </output_collection>
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
130 </test>
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
131 <test>
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
132 <param name="input" value ="sample1.fa" ftype="fasta" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
133 <param name="genomeSource" value="history" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
134 <param name="ownFile" value ="2L-tail.fa" ftype="fasta" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
135 <param name="AdditionalQueries_0|ownFile" value="dme_miR21_hairpin.fa" ftype="fasta" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
136 <param name="AdditionalQueries_1|ownFile" value="Ensembl_transposon_set.fa" ftype="fasta" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
137 <output name="output" ftype="tabular" file="sample1_output.tab" />
4
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
138 <output name="barplot" ftype="pdf" file="sample1_output.pdf" compare="sim_size" delta="500"/>
9
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
139 <output_collection name="unmatched" type="list">
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
140 <element name="sample1.fa_unmatched" file="unmatched_1.fa" ftype="fasta"/>
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
141 </output_collection>
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
142 </test>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
143 <test>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
144 <param name="input" value ="sample.fastq" ftype="fastq" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
145 <param name="genomeSource" value="history" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
146 <param name="ownFile" value ="2L-tail.fa" ftype="fasta" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
147 <param name="AdditionalQueries_0|ownFile" value="dme_miR21_hairpin.fa" ftype="fasta" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
148 <param name="AdditionalQueries_1|ownFile" value="Ensembl_transposon_set.fa" ftype="fasta" />
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
149 <output name="output" ftype="tabular" file="sample_output.tab" />
4
e11f91575af6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 3
diff changeset
150 <output name="barplot" ftype="pdf" file="sample_output.pdf" compare="sim_size" delta="500"/>
9
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
151 <output_collection name="unmatched" type="list">
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
152 <element name="sample.fastq_unmatched" file="unmatched_fastq.fa" ftype="fasta"/>
6bf9de09aa74 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit c8f13ba73552ccf7db7c22859b7fdc6ad121cdf0"
artbio
parents: 8
diff changeset
153 </output_collection>
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
154 </test>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
155 </tests>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
156 <help>
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
157
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
158 **Introduction**
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
159
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
160 Bowtie_ is a short read aligner designed to be ultrafast and memory-efficient.
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
161 A generic "Map with Bowtie for Illumina" Galaxy tool is available in the main Galaxy distribution.
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
162
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
163 Here The sRbowtie wrapper specifically works with short reads FASTA or FASTQ inputs
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
164 (-v bowtie mode, with -k 1) which has to be clipped from adapter before alignment.
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
165
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
166 .. _Bowtie: http://bowtie-bio.sourceforge.net/index.shtml
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
167
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
168
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
169 ------
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
170
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
171 **What it does**
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
172
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
173 .. class:: infomark
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
174
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
175 This script uses the sRbowtie wrapper to iteratively match reads on a reference indexes.
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
176 Read that aligned to the first reference are realigned to the second reference.
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
177 From this point, unaligned reads are taken as input for alignment to the third reference, etc.
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
178
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
179
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
180 Reads are Matched on DNA references (both strands) as fast as possible, without taking care of mapping issues
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
181
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
182 *-v [0,1,2,3] -k 1 --best -p 12 --suppress 6,7,8*
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
183
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
184 unaligned reads at step N are used as input for sRbowtie at step N+1
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
185
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
186 -----
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
187
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
188 **Input formats**
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
189
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
190 .. class:: warningmark
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
191
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
192 *Reads must be clipped from their adapter and provided in a FASTA or FASTQ format*
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
193
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
194 -----
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
195
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
196 **OUTPUTS**
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
197
8
3519c2de7fac "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit e62066428e669516e024d081933ee8c7f953ba1b"
artbio
parents: 7
diff changeset
198 **- Annotation table in a tabular format**
3519c2de7fac "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit e62066428e669516e024d081933ee8c7f953ba1b"
artbio
parents: 7
diff changeset
199
3519c2de7fac "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit e62066428e669516e024d081933ee8c7f953ba1b"
artbio
parents: 7
diff changeset
200 **- Pie Charts of class abundances**
3519c2de7fac "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit e62066428e669516e024d081933ee8c7f953ba1b"
artbio
parents: 7
diff changeset
201
3519c2de7fac "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit e62066428e669516e024d081933ee8c7f953ba1b"
artbio
parents: 7
diff changeset
202 **- Unmatched reads in fasta format**
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
203
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
204 </help>
8
3519c2de7fac "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit e62066428e669516e024d081933ee8c7f953ba1b"
artbio
parents: 7
diff changeset
205
3519c2de7fac "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit e62066428e669516e024d081933ee8c7f953ba1b"
artbio
parents: 7
diff changeset
206 <citations>
3519c2de7fac "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit e62066428e669516e024d081933ee8c7f953ba1b"
artbio
parents: 7
diff changeset
207 <citation type="doi">10.1038/nature11416</citation>
3519c2de7fac "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit e62066428e669516e024d081933ee8c7f953ba1b"
artbio
parents: 7
diff changeset
208 </citations>
3519c2de7fac "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit e62066428e669516e024d081933ee8c7f953ba1b"
artbio
parents: 7
diff changeset
209
0
e7e7785e41d0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 80b49bd722e8ea8d7dba6dcfe538537cd710d2a2
artbio
parents:
diff changeset
210 </tool>