Mercurial > repos > devteam > picard
annotate picard_CollectRnaSeqMetrics.xml @ 24:b9fbec5ac6b2 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9c268f08be6d363990a822fc941e031dd13be3f4
author | iuc |
---|---|
date | Fri, 31 May 2019 03:21:52 -0400 |
parents | f6ced08779c4 |
children | a1f0b3f4b781 |
rev | line source |
---|---|
19
5053a18d9bc8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents:
17
diff
changeset
|
1 <tool name="CollectRnaSeqMetrics" id="picard_CollectRnaSeqMetrics" version="@TOOL_VERSION@.@WRAPPER_VERSION@"> |
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> |
20
2a17c789e0a5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 5ebd6c8453b49dd6a36e372eb1eb6e323bb7ad8a
iuc
parents:
19
diff
changeset
|
5 <token name="@WRAPPER_VERSION@">1</token> |
8
3a3234d7a2e8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
5
diff
changeset
|
6 </macros> |
3a3234d7a2e8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
5
diff
changeset
|
7 <expand macro="requirements"> |
19
5053a18d9bc8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents:
17
diff
changeset
|
8 <requirement type="package" version="3.4.1">r-base</requirement> |
5053a18d9bc8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents:
17
diff
changeset
|
9 <requirement type="package" version="357">ucsc-gff3togenepred</requirement> |
5053a18d9bc8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents:
17
diff
changeset
|
10 <requirement type="package" version="357">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
|
11 </expand> |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
12 <command detect_errors="exit_code"><![CDATA[ |
5 | 13 ## 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
|
14 @symlink_element_identifier@ |
5 | 15 ## Reference sequences |
16 | |
17 #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
|
18 |
19
5053a18d9bc8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents:
17
diff
changeset
|
19 @handle_reference_source@ |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
20 |
5 | 21 ## refFlat data |
22 ## 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
|
23 |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
24 #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
|
25 #if $gene_reference_source.refFlat.ext != 'gff3' |
22
f6ced08779c4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit b6e11aa8e5fd1da27909207ec4f09cbbac467495
iuc
parents:
20
diff
changeset
|
26 gtfToGenePred -genePredExt '${gene_reference_source.refFlat}' refFlat.tab.raw && |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
27 #else |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
28 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
|
29 #end if |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
30 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
31 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
|
32 #else |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
33 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
|
34 #end if |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
35 |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
36 |
5 | 37 ## 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
|
38 |
5 | 39 @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
|
40 picard |
5 | 41 CollectRnaSeqMetrics |
42 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
|
43 |
5 | 44 #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
|
45 RIBOSOMAL_INTERVALS="${ribosomal_intervals}" |
5 | 46 #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
|
47 |
5 | 48 STRAND_SPECIFICITY="${strand_specificity}" |
49 MINIMUM_LENGTH="${minimum_length}" | |
50 CHART_OUTPUT="${pdfFile}" | |
51 | |
52 #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
|
53 IGNORE_SEQUENCE="${sequence_to_ignore.sequence}" |
5 | 54 #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
|
55 |
5 | 56 RRNA_FRAGMENT_PERCENTAGE="${rrna_fragment_percentage}" |
57 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
|
58 INPUT='$escaped_element_identifier' |
5 | 59 OUTPUT="${outFile}" |
60 REFERENCE_SEQUENCE="${reference_fasta_filename}" | |
61 ASSUME_SORTED="${assume_sorted}" | |
20
2a17c789e0a5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 5ebd6c8453b49dd6a36e372eb1eb6e323bb7ad8a
iuc
parents:
19
diff
changeset
|
62 @TMPDIR_OPTION@ |
5 | 63 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
|
64 |
12
05087b27692a
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents:
9
diff
changeset
|
65 ]]></command> |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
66 |
5 | 67 <inputs> |
68 <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" /> | |
69 <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
|
70 <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
|
71 <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
|
72 <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
|
73 </param> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
74 <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
|
75 <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
|
76 <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
|
77 <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
|
78 </param> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
79 </when> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
80 <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
|
81 <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
|
82 </when> |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
83 </conditional> |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
84 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
85 <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
|
86 <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
|
87 <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
|
88 <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
|
89 </param> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
90 <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
|
91 <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
|
92 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
|
93 type="data" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
94 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
|
95 </when> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
96 <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
|
97 <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
|
98 format="tabular" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
99 type="data" |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
100 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
|
101 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
|
102 </when> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
103 </conditional> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
104 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
105 |
5 | 106 <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"/> |
107 <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
|
108 <option value="NONE" selected="True">None</option> |
5 | 109 <option value="FIRST_READ_TRANSCRIPTION_STRAND">First read transcription strand</option> |
110 <option value="SECOND_READ_TRANSCRIPTION_STRAND">Second read transcription strand</option> | |
111 </param> | |
112 <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"/> | |
113 <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
|
114 <param name="sequence" type="text" label="Ignore reads matching this sequence"/> |
5 | 115 </repeat> |
116 <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"/> | |
117 <param name="metric_accumulation_level" type="select" label="The level(s) at which to accumulate metrics" multiple="true" help="METRIC_ACCUMULATION_LEVEL"> | |
118 <option value="ALL_READS" selected="True">All reads</option> | |
119 <option value="SAMPLE">Sample</option> | |
120 <option value="LIBRARY">Library</option> | |
121 <option value="READ_GROUP">Read group</option> | |
122 </param> | |
123 <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
|
124 |
5 | 125 <expand macro="VS" /> |
126 | |
127 </inputs> | |
128 <outputs> | |
129 <data format="pdf" name="pdfFile" label="${tool.name} on ${on_string}: Chart PDF"/> | |
130 <data format="tabular" name="outFile" label="${tool.name} on ${on_string}: Summary stats"/> | |
131 </outputs> | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
132 |
5 | 133 <tests> |
134 <test> | |
135 <param name="reference_source_selector" value="history"/> | |
136 <param name="ref_file" value="picard_CollectRnaSeqMetrics_ref.fa" ftype="fasta"/> | |
137 <param name="inputFile" value="picard_CollectRnaSeqMetrics.bam" ftype="bam"/> | |
138 <param name="assume_sorted" value="true" /> | |
19
5053a18d9bc8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents:
17
diff
changeset
|
139 |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
140 <param name="gene_reference_source_selector" value="refflat" /> |
5 | 141 <param name="refFlat" value="picard_CollectRnaSeqMetrics.refFlat" /> |
142 <param name="metric_accumulation_level" value="ALL_READS" /> | |
143 <param name="minimum_length" value="500" /> | |
144 <param name="strand_specificity" value="NONE" /> | |
145 <param name="rrna_fragment_percentage" value="0.8" /> | |
146 <output name="outFile" file="picard_CollectRnaSeqMetrics_test1.tab" ftype="tabular" lines_diff="4"/> | |
147 </test> | |
148 | |
15
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
149 <test> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
150 <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
|
151 <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
|
152 <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
|
153 <param name="assume_sorted" value="true" /> |
19
5053a18d9bc8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents:
17
diff
changeset
|
154 |
15
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="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
|
156 <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
|
157 <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
|
158 <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
|
159 <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
|
160 <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
|
161 <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
|
162 </test> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
163 |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
164 <test> |
00fe2ff64467
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit f65b40f4eb3c3431b8d9213f86238deebfd6bc29
devteam
parents:
14
diff
changeset
|
165 <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
|
166 <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
|
167 <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
|
168 <param name="assume_sorted" value="true" /> |
19
5053a18d9bc8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents:
17
diff
changeset
|
169 |
15
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="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
|
171 <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
|
172 <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
|
173 <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
|
174 <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
|
175 <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
|
176 <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
|
177 </test> |
5 | 178 </tests> |
179 <help> | |
180 | |
181 .. class:: infomark | |
182 | |
183 **Purpose** | |
184 | |
185 Collects metrics about the alignment of RNA to various functional classes of loci in the genome: coding, intronic, UTR, intergenic, ribosomal. | |
186 | |
187 @dataset_collections@ | |
188 | |
189 ----- | |
190 | |
191 .. class:: warningmark | |
192 | |
193 **Obtaining gene annotations in refFlat format** | |
194 | |
195 This tool requires gene annotations in refFlat_ format. These data can be obtained from UCSC table browser directly through Galaxy by following these steps: | |
196 | |
197 1. Click on **Get Data** in the upper part of left pane of Galaxy interface | |
198 2. Click on **UCSC Main** link | |
199 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 | |
200 4. In the **output format** field choose **selected fields from primary and related tables** | |
201 5. Click **get output** button | |
202 6. In the first table presented at the top of the page select (using checkboxes) first 11 fields: | |
203 name | |
204 chrom | |
205 strand | |
206 txStart | |
207 txEnd | |
208 cdsStart | |
209 cdsEnd | |
210 exonCount | |
211 exonStarts | |
212 exonEnds | |
213 proteinId | |
214 7. Click **done with selection** | |
215 8. Click **Send query to Galaxy** | |
216 9. A new dataset will appear in the current Galaxy history | |
217 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
|
218 |
17
fc288950c3b7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit a55cff7dfc145ed17ec2ee9f6a70d51c6f9d74b6
iuc
parents:
16
diff
changeset
|
219 .. _refFlat: https://genome.ucsc.edu/FAQ/FAQformat.html#format9 |
5 | 220 |
221 @description@ | |
222 | |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
223 REF_FLAT=File Gene annotations in refFlat form. Format described here: |
17
fc288950c3b7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit a55cff7dfc145ed17ec2ee9f6a70d51c6f9d74b6
iuc
parents:
16
diff
changeset
|
224 https://genome.ucsc.edu/FAQ/FAQformat.html#format9 Required. |
5 | 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 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
|
227 will be identified as being ribosomal. Format described here: |
16
6741a8ace658
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
15
diff
changeset
|
228 https://samtools.github.io/htsjdk/javadoc/htsjdk/htsjdk/samtools/util/IntervalList.html and can be |
6741a8ace658
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
15
diff
changeset
|
229 generated from BED datasetes using Galaxy's wrapper for picard_BedToIntervalList tool |
5 | 230 |
231 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
|
232 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
|
233 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
|
234 {NONE, FIRST_READ_TRANSCRIPTION_STRAND, SECOND_READ_TRANSCRIPTION_STRAND} |
5 | 235 |
13
7e6fd3d0f16e
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents:
12
diff
changeset
|
236 MINIMUM_LENGTH=Integer When calculating coverage based values (e.g. CV of coverage) only use transcripts of this |
5 | 237 length or greater. Default value: 500. |
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 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
|
240 counted as ignored bases. |
5 | 241 |
242 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
|
243 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
|
244 for a read or read pair by this must in order to be considered rRNA. Default value: 0.8. |
5 | 245 |
246 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
|
247 LEVEL=MetricAccumulationLevel The level(s) at which to accumulate metrics. Possible values: {ALL_READS, SAMPLE, |
5 | 248 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
|
249 |
5 | 250 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
|
251 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
|
252 value: true. Possible values: {true, false} |
5 | 253 |
254 @more_info@ | |
255 | |
256 </help> | |
19
5053a18d9bc8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents:
17
diff
changeset
|
257 <expand macro="citations" /> |
5 | 258 </tool> |