Mercurial > repos > devteam > picard
annotate picard_CollectRnaSeqMetrics.xml @ 15:00fe2ff64467 draft
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
author | devteam |
---|---|
date | Thu, 08 Dec 2016 06:43:38 -0500 |
parents | 465cbb0cf2eb |
children | 6741a8ace658 |
rev | line source |
---|---|
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
1 <tool name="CollectRnaSeqMetrics" id="picard_CollectRnaSeqMetrics" version="@TOOL_VERSION@.1"> |
8
3a3234d7a2e8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
5
diff
changeset
|
2 <description> collect metrics about the alignment of RNA to various functional classes of loci in the genome</description> |
3a3234d7a2e8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
5
diff
changeset
|
3 <macros> |
3a3234d7a2e8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
5
diff
changeset
|
4 <import>picard_macros.xml</import> |
3a3234d7a2e8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
5
diff
changeset
|
5 </macros> |
3a3234d7a2e8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
5
diff
changeset
|
6 <expand macro="requirements"> |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
7 <requirement type="package" version="3.3.1">r</requirement> |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
8 <requirement type="package" version="324">ucsc-gff3togenepred</requirement> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
9 <requirement type="package" version="324">ucsc-gtftogenepred</requirement> |
8
3a3234d7a2e8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
5
diff
changeset
|
10 </expand> |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
11 <command detect_errors="exit_code"><![CDATA[ |
5 | 12 ## Set up input files |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
13 @symlink_element_identifier@ |
5 | 14 ## Reference sequences |
15 | |
16 #set $reference_fasta_filename = "localref.fa" | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
17 |
5 | 18 #if str( $reference_source.reference_source_selector ) == "history": |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
19 ln -s "${reference_source.ref_file}" "${reference_fasta_filename}" && |
5 | 20 #else: |
21 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path ) | |
22 #end if | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
23 |
5 | 24 ## refFlat data |
25 ## The awk line below converts a file obtained from UCSC as specified in the tool help to refFlat format | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
26 |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
27 #if str($gene_reference_source.gene_reference_source_selector) == "gtf" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
28 #if $gene_reference_source.refFlat.ext != 'gff3' |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
29 gtfToGenePred '${gene_reference_source.refFlat}' refFlat.tab.raw && |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
30 #else |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
31 gff3ToGenePred '${gene_reference_source.refFlat}' refFlat.tab.raw && |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
32 #end if |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
33 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
34 grep -v '^#' refFlat.tab.raw | awk '{print $12"\t"$1"\t"$2"\t"$3"\t"$4"\t"$5"\t"$6"\t"$7"\t"$8"\t"$9"\t"$10}' > refFlat.tab && |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
35 #else |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
36 grep -v '^#' ${refFlat} | awk '{print $11"\t"$1"\t"$2"\t"$3"\t"$4"\t"$5"\t"$6"\t"$7"\t"$8"\t"$9"\t"$10}' > refFlat.tab && |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
37 #end if |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
38 |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
39 |
5 | 40 ## Start picard command |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
41 |
5 | 42 @java_options@ |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
43 picard |
5 | 44 CollectRnaSeqMetrics |
45 REF_FLAT=refFlat.tab | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
46 |
5 | 47 #if str( $ribosomal_intervals ) != "None": |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
48 RIBOSOMAL_INTERVALS="${ribosomal_intervals}" |
5 | 49 #end if |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
50 |
5 | 51 STRAND_SPECIFICITY="${strand_specificity}" |
52 MINIMUM_LENGTH="${minimum_length}" | |
53 CHART_OUTPUT="${pdfFile}" | |
54 | |
55 #for $sequence_to_ignore in $ignore_list: | |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
56 IGNORE_SEQUENCE="${sequence_to_ignore.sequence}" |
5 | 57 #end for |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
58 |
5 | 59 RRNA_FRAGMENT_PERCENTAGE="${rrna_fragment_percentage}" |
60 METRIC_ACCUMULATION_LEVEL="${metric_accumulation_level}" | |
14
465cbb0cf2eb
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 74ee0f0b594075fab7f707aaffb4a7f9dac35f2f
devteam
parents:
13
diff
changeset
|
61 INPUT='$escaped_element_identifier' |
5 | 62 OUTPUT="${outFile}" |
63 REFERENCE_SEQUENCE="${reference_fasta_filename}" | |
64 ASSUME_SORTED="${assume_sorted}" | |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
65 |
5 | 66 VALIDATION_STRINGENCY=${validation_stringency} |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
67 |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
68 ]]></command> |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
69 |
5 | 70 <inputs> |
71 <param format="sam,bam" type="data" name="inputFile" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM/BAM dataset" /> | |
72 <conditional name="reference_source"> | |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
73 <param name="reference_source_selector" type="select" label="Load reference genome from"> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
74 <option value="cached">Local cache</option> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
75 <option value="history">History</option> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
76 </param> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
77 <when value="cached"> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
78 <param name="ref_file" type="select" label="Using reference genome" help="REFERENCE_SEQUENCE"> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
79 <options from_data_table="all_fasta"></options> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
80 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
81 </param> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
82 </when> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
83 <when value="history"> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
84 <param name="ref_file" type="data" format="fasta" label="Use the folloing dataset as the reference sequence" help="REFERENCE_SEQUENCE; You can upload a FASTA sequence to the history and use it as reference" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
85 </when> |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
86 </conditional> |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
87 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
88 <conditional name="gene_reference_source"> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
89 <param name="gene_reference_source_selector" type="select" label="Load gene annotation from"> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
90 <option value="gtf">GTF/GFF3</option> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
91 <option value="refflat">refFlat</option> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
92 </param> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
93 <when value="gtf"> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
94 <param name="refFlat" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
95 format="gtf,gff3" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
96 type="data" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
97 label="Gene annotation (GTF/GFF3)"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
98 </when> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
99 <when value="refflat"> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
100 <param name="refFlat" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
101 format="tabular" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
102 type="data" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
103 label="Gene annotations in refFlat form" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
104 help="See "Obtaining gene annotations in refFlat format" below for help"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
105 </when> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
106 </conditional> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
107 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
108 |
5 | 109 <param name="ribosomal_intervals" format="picard_interval_list" type="data" optional="True" label="Location of rRNA sequences in genome, in interval_list format" help="RIBOSOMAL_INTERVALS; If not specified no bases will be identified as being ribosomal. The list of intervals can be geberated from BED or Interval datasets using Galaxy BedToIntervalList tool"/> |
110 <param name="strand_specificity" type="select" label="What is the RNA-seq library strand specificity" help="STRAND_SPECIFICITY; For unpaired reads, use FIRST_READ_TRANSCRIPTION_STRAND if the reads are expected to be on the transcription strand."> | |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
111 <option value="NONE" selected="True">None</option> |
5 | 112 <option value="FIRST_READ_TRANSCRIPTION_STRAND">First read transcription strand</option> |
113 <option value="SECOND_READ_TRANSCRIPTION_STRAND">Second read transcription strand</option> | |
114 </param> | |
115 <param name="minimum_length" type="integer" value="500" label="When calculating coverage based values use only use transcripts of this length or greater" help="MINIMUM_LENGTH; default=500"/> | |
116 <repeat name="ignore_list" title="Sequences to ignore" min="0" help="You can provide multiple sequences by clicking the button below"> | |
9
5eaa8a968300
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents:
8
diff
changeset
|
117 <param name="sequence" type="text" label="Ignore reads matching this sequence"/> |
5 | 118 </repeat> |
119 <param name="rrna_fragment_percentage" type="float" value="0.8" label="This percentage of the length of a fragment must overlap one of the ribosomal intervals for a read or read pair to be considered rRNA." help="RRNA_FRAGMENT_PERCENTAGE; default=0.8"/> | |
120 <param name="metric_accumulation_level" type="select" label="The level(s) at which to accumulate metrics" multiple="true" help="METRIC_ACCUMULATION_LEVEL"> | |
121 <option value="ALL_READS" selected="True">All reads</option> | |
122 <option value="SAMPLE">Sample</option> | |
123 <option value="LIBRARY">Library</option> | |
124 <option value="READ_GROUP">Read group</option> | |
125 </param> | |
126 <param name="assume_sorted" type="boolean" label="Assume the input file is already sorted" checked="true" truevalue="true" falsevalue="false" help="ASSUME_SORTED"/> | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
127 |
5 | 128 <expand macro="VS" /> |
129 | |
130 </inputs> | |
131 <outputs> | |
132 <data format="pdf" name="pdfFile" label="${tool.name} on ${on_string}: Chart PDF"/> | |
133 <data format="tabular" name="outFile" label="${tool.name} on ${on_string}: Summary stats"/> | |
134 </outputs> | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
135 |
5 | 136 <tests> |
137 <test> | |
138 <param name="reference_source_selector" value="history"/> | |
139 <param name="ref_file" value="picard_CollectRnaSeqMetrics_ref.fa" ftype="fasta"/> | |
140 <param name="inputFile" value="picard_CollectRnaSeqMetrics.bam" ftype="bam"/> | |
141 <param name="assume_sorted" value="true" /> | |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
142 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
143 <param name="gene_reference_source_selector" value="refflat" /> |
5 | 144 <param name="refFlat" value="picard_CollectRnaSeqMetrics.refFlat" /> |
145 <param name="metric_accumulation_level" value="ALL_READS" /> | |
146 <param name="minimum_length" value="500" /> | |
147 <param name="strand_specificity" value="NONE" /> | |
148 <param name="rrna_fragment_percentage" value="0.8" /> | |
149 <output name="outFile" file="picard_CollectRnaSeqMetrics_test1.tab" ftype="tabular" lines_diff="4"/> | |
150 </test> | |
151 | |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
152 <test> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
153 <param name="reference_source_selector" value="history"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
154 <param name="ref_file" value="picard_CollectRnaSeqMetrics_ref.fa" ftype="fasta"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
155 <param name="inputFile" value="picard_CollectRnaSeqMetrics.bam" ftype="bam"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
156 <param name="assume_sorted" value="true" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
157 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
158 <param name="gene_reference_source_selector" value="gtf" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
159 <param name="refFlat" value="picard_CollectRnaSeqMetrics.gtf" ftype="gtf" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
160 <param name="metric_accumulation_level" value="ALL_READS" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
161 <param name="minimum_length" value="500" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
162 <param name="strand_specificity" value="NONE" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
163 <param name="rrna_fragment_percentage" value="0.8" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
164 <output name="outFile" file="picard_CollectRnaSeqMetrics_test2.tab" ftype="tabular" lines_diff="4"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
165 </test> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
166 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
167 <test> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
168 <param name="reference_source_selector" value="history"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
169 <param name="ref_file" value="picard_CollectRnaSeqMetrics_ref.fa" ftype="fasta"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
170 <param name="inputFile" value="picard_CollectRnaSeqMetrics.bam" ftype="bam"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
171 <param name="assume_sorted" value="true" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
172 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
173 <param name="gene_reference_source_selector" value="gtf" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
174 <param name="refFlat" value="picard_CollectRnaSeqMetrics.gff3" ftype="gff3" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
175 <param name="metric_accumulation_level" value="ALL_READS" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
176 <param name="minimum_length" value="500" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
177 <param name="strand_specificity" value="NONE" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
178 <param name="rrna_fragment_percentage" value="0.8" /> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
179 <output name="outFile" file="picard_CollectRnaSeqMetrics_test3.tab" ftype="tabular" lines_diff="4"/> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
180 </test> |
5 | 181 </tests> |
182 <help> | |
183 | |
184 .. class:: infomark | |
185 | |
186 **Purpose** | |
187 | |
188 Collects metrics about the alignment of RNA to various functional classes of loci in the genome: coding, intronic, UTR, intergenic, ribosomal. | |
189 | |
190 @dataset_collections@ | |
191 | |
192 ----- | |
193 | |
194 .. class:: warningmark | |
195 | |
196 **Obtaining gene annotations in refFlat format** | |
197 | |
198 This tool requires gene annotations in refFlat_ format. These data can be obtained from UCSC table browser directly through Galaxy by following these steps: | |
199 | |
200 1. Click on **Get Data** in the upper part of left pane of Galaxy interface | |
201 2. Click on **UCSC Main** link | |
202 3. Set your genome and dataset of interest. It **must** be the same genome build against which you have mapped the reads contained in the BAM file you are analyzing | |
203 4. In the **output format** field choose **selected fields from primary and related tables** | |
204 5. Click **get output** button | |
205 6. In the first table presented at the top of the page select (using checkboxes) first 11 fields: | |
206 name | |
207 chrom | |
208 strand | |
209 txStart | |
210 txEnd | |
211 cdsStart | |
212 cdsEnd | |
213 exonCount | |
214 exonStarts | |
215 exonEnds | |
216 proteinId | |
217 7. Click **done with selection** | |
218 8. Click **Send query to Galaxy** | |
219 9. A new dataset will appear in the current Galaxy history | |
220 10. Use this dataset as the input for **Gene annotations in refFlat form** dropdown of this tool | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
221 |
5 | 222 .. _refFlat: http://genome.ucsc.edu/goldenPath/gbdDescriptionsOld.html#RefFlat |
223 | |
224 @description@ | |
225 | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
226 REF_FLAT=File Gene annotations in refFlat form. Format described here: |
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
227 http://genome.ucsc.edu/goldenPath/gbdDescriptionsOld.html#RefFlat Required. |
5 | 228 |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
229 RIBOSOMAL_INTERVALS=File Location of rRNA sequences in genome, in interval_list format. If not specified no bases |
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
230 will be identified as being ribosomal. Format described here: |
5 | 231 http://picard.sourceforge.net/javadoc/net/sf/picard/util/IntervalList.html and can be |
232 generated from BED datasetes using Galaxy's wrapper for picard_BedToIntervalList tool | |
233 | |
234 STRAND_SPECIFICITY=StrandSpecificity | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
235 STRAND=StrandSpecificity For strand-specific library prep. For unpaired reads, use FIRST_READ_TRANSCRIPTION_STRAND |
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
236 if the reads are expected to be on the transcription strand. Required. Possible values: |
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
237 {NONE, FIRST_READ_TRANSCRIPTION_STRAND, SECOND_READ_TRANSCRIPTION_STRAND} |
5 | 238 |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
239 MINIMUM_LENGTH=Integer When calculating coverage based values (e.g. CV of coverage) only use transcripts of this |
5 | 240 length or greater. Default value: 500. |
241 | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
242 IGNORE_SEQUENCE=String If a read maps to a sequence specified with this option, all the bases in the read are |
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
243 counted as ignored bases. |
5 | 244 |
245 RRNA_FRAGMENT_PERCENTAGE=Double | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
246 This percentage of the length of a fragment must overlap one of the ribosomal intervals |
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
247 for a read or read pair by this must in order to be considered rRNA. Default value: 0.8. |
5 | 248 |
249 METRIC_ACCUMULATION_LEVEL=MetricAccumulationLevel | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
250 LEVEL=MetricAccumulationLevel The level(s) at which to accumulate metrics. Possible values: {ALL_READS, SAMPLE, |
5 | 251 LIBRARY, READ_GROUP} This option may be specified 0 or more times. |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
252 |
5 | 253 ASSUME_SORTED=Boolean |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
254 AS=Boolean If true (default), then the sort order in the header file will be ignored. Default |
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
255 value: true. Possible values: {true, false} |
5 | 256 |
257 @more_info@ | |
258 | |
259 </help> | |
260 </tool> |