Mercurial > repos > devteam > picard
comparison picard_CollectGcBiasMetrics.xml @ 33:3f254c5ced1d draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
author | iuc |
---|---|
date | Sun, 03 Mar 2024 16:06:11 +0000 |
parents | f9242e01365a |
children |
comparison
equal
deleted
inserted
replaced
32:f9242e01365a | 33:3f254c5ced1d |
---|---|
1 <tool name="CollectGcBiasMetrics" id="picard_CollectGcBiasMetrics" version="@TOOL_VERSION@.@WRAPPER_VERSION@"> | 1 <tool name="CollectGcBiasMetrics" id="picard_CollectGcBiasMetrics" version="@TOOL_VERSION@.@WRAPPER_VERSION@" profile="@PROFILE@"> |
2 <description>charts the GC bias metrics</description> | 2 <description>charts the GC bias metrics</description> |
3 <macros> | 3 <macros> |
4 <import>picard_macros.xml</import> | 4 <import>picard_macros.xml</import> |
5 <token name="@WRAPPER_VERSION@">1</token> | 5 <token name="@WRAPPER_VERSION@">0</token> |
6 </macros> | 6 </macros> |
7 <expand macro="requirements"> | 7 <expand macro="requirements"> |
8 <requirement type="package" version="3.4.1">r-base</requirement> | |
9 </expand> | 8 </expand> |
10 <command detect_errors="exit_code"><![CDATA[ | 9 <command detect_errors="exit_code"><![CDATA[ |
11 @java_options@ | 10 @java_options@ |
12 @symlink_element_identifier@ | 11 @symlink_element_identifier@ |
13 ##set up input files | 12 ##set up input files |
14 | 13 |
15 #set $reference_fasta_filename = "localref.fa" | 14 #set $reference_fasta_filename = "localref.fa" |
16 | 15 |
17 @handle_reference_source@ | 16 @handle_reference_source@ |
18 | 17 |
19 picard | 18 picard CollectGcBiasMetrics |
20 CollectGcBiasMetrics | 19 --INPUT '$escaped_element_identifier' |
21 INPUT='$escaped_element_identifier' | 20 --OUTPUT '${outFile}' |
22 OUTPUT="${outFile}" | 21 --CHART_OUTPUT '${pdfFile}' |
23 CHART_OUTPUT="${pdfFile}" | 22 --SUMMARY_OUTPUT '${summaryFile}' |
24 SUMMARY_OUTPUT="${summaryFile}" | 23 --WINDOW_SIZE '${window_size}' |
25 WINDOW_SIZE="${window_size}" | 24 --MINIMUM_GENOME_FRACTION '${minimum_genome_fraction}' |
26 MINIMUM_GENOME_FRACTION="${minimum_genome_fraction}" | 25 --IS_BISULFITE_SEQUENCED '${is_bisulfite_sequenced}' |
27 IS_BISULFITE_SEQUENCED="${is_bisulfite_sequenced}" | 26 --REFERENCE_SEQUENCE '${reference_fasta_filename}' |
28 REFERENCE_SEQUENCE="${reference_fasta_filename}" | 27 --ASSUME_SORTED '${assume_sorted}' |
29 ASSUME_SORTED="${assume_sorted}" | |
30 | 28 |
31 VALIDATION_STRINGENCY="${validation_stringency}" | 29 --VALIDATION_STRINGENCY '${validation_stringency}' |
32 QUIET=true | 30 --QUIET true |
33 VERBOSITY=ERROR | 31 --VERBOSITY ERROR |
34 | 32 |
35 ]]></command> | 33 ]]></command> |
36 <inputs> | 34 <inputs> |
37 <param format="sam,bam" name="inputFile" type="data" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM/BAM dataset."/> | 35 <param format="sam,bam" name="inputFile" type="data" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM/BAM dataset."/> |
38 <conditional name="reference_source"> | 36 <conditional name="reference_source"> |
39 <param name="reference_source_selector" type="select" label="Load reference genome from"> | 37 <param name="reference_source_selector" type="select" label="Load reference genome from"> |
40 <option value="cached">Local cache</option> | 38 <option value="cached">Local cache</option> |
41 <option value="history">History</option> | 39 <option value="history">History</option> |
42 </param> | 40 </param> |
43 <when value="cached"> | 41 <when value="cached"> |
44 <param name="ref_file" type="select" label="Using reference genome" help="REFERENCE_SEQUENCE"> | 42 <param name="ref_file" type="select" label="Using reference genome" help="REFERENCE_SEQUENCE"> |
45 <options from_data_table="all_fasta"> | 43 <options from_data_table="all_fasta"> |
46 </options> | 44 </options> |
47 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> | 45 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> |
48 </param> | 46 </param> |
49 </when> | 47 </when> |
50 <when value="history"> | 48 <when value="history"> |
51 <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" /> | 49 <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"/> |
52 </when> | 50 </when> |
53 </conditional> | 51 </conditional> |
54 <param name="window_size" type="integer" value="100" label="The size of windows on the genome that are used to bin reads" help="WINDOW_SIZE; default=100"/> | 52 <param name="window_size" type="integer" value="100" label="The size of windows on the genome that are used to bin reads" help="WINDOW_SIZE; default=100"/> |
55 <param name="minimum_genome_fraction" type="float" value="0.00005" label="For summary metrics, exclude GC windows that include less than this fraction of the genome" help="MINIMUM_GENOME_FRACTION; default=0.0005"/> | 53 <param name="minimum_genome_fraction" type="float" value="0.00005" label="For summary metrics, exclude GC windows that include less than this fraction of the genome" help="MINIMUM_GENOME_FRACTION; default=0.0005"/> |
56 <param name="is_bisulfite_sequenced" type="boolean" label="Calculate the base distribution over PF (passing filtering) reads only" checked="true" truevalue="true" falsevalue="false" help="PF_READS_ONLY"/> | 54 <param name="is_bisulfite_sequenced" type="boolean" label="Calculate the base distribution over PF (passing filtering) reads only" checked="true" truevalue="true" falsevalue="false" help="PF_READS_ONLY"/> |
57 <param name="assume_sorted" type="boolean" label="Assume the input file is already sorted" checked="true" truevalue="true" falsevalue="false" help="ASSUME_SORTED"/> | 55 <param name="assume_sorted" type="boolean" label="Assume the input file is already sorted" checked="true" truevalue="true" falsevalue="false" help="ASSUME_SORTED"/> |
58 | 56 <expand macro="VS"/> |
59 <expand macro="VS" /> | 57 </inputs> |
60 | 58 <outputs> |
61 </inputs> | 59 <data format="tabular" name="summaryFile" label="${tool.name} on ${on_string}: Summary stats"/> |
62 | 60 <data format="tabular" name="outFile" label="${tool.name} on ${on_string}: Summary data"/> |
63 <outputs> | 61 <data format="pdf" name="pdfFile" label="${tool.name} on ${on_string}: Chart PDF"/> |
64 <data format="tabular" name="summaryFile" label="${tool.name} on ${on_string}: Summary stats"/> | 62 </outputs> |
65 <data format="tabular" name="outFile" label="${tool.name} on ${on_string}: Summary data"/> | 63 <tests> |
66 <data format="pdf" name="pdfFile" label="${tool.name} on ${on_string}: Chart PDF"/> | 64 <test> |
67 </outputs> | 65 <param name="window_size" value="100"/> |
68 | 66 <param name="minimum_genome_fraction" value="0.00005"/> |
69 <tests> | 67 <param name="assume_sorted" value="true"/> |
70 <test> | 68 <param name="is_bisulfite_sequenced" value="true"/> |
71 <param name="window_size" value="100" /> | 69 <param name="reference_source_selector" value="history"/> |
72 <param name="minimum_genome_fraction" value="0.00005" /> | 70 <param name="ref_file" value="picard_CollectGcBiasMetrics_ref.fa"/> |
73 <param name="assume_sorted" value="true" /> | 71 <param name="inputFile" value="picard_CollectGcBiasMetrics.bam" ftype="bam"/> |
74 <param name="is_bisulfite_sequenced" value="true" /> | 72 <output name="outFile" file="picard_CollectGcBiasMetrics_test1.tab" ftype="tabular" lines_diff="4"/> |
75 <param name="reference_source_selector" value="history" /> | 73 </test> |
76 <param name="ref_file" value="picard_CollectGcBiasMetrics_ref.fa" /> | 74 </tests> |
77 <param name="inputFile" value="picard_CollectGcBiasMetrics.bam" ftype="bam" /> | 75 <help> |
78 <output name="outFile" file="picard_CollectGcBiasMetrics_test1.tab" ftype="tabular" lines_diff="4"/> | |
79 </test> | |
80 </tests> | |
81 | |
82 | |
83 <help> | |
84 | 76 |
85 .. class:: infomark | 77 .. class:: infomark |
86 | 78 |
87 **Purpose** | 79 **Purpose** |
88 | 80 |
103 AS=Boolean If true (default), then the sort order in the header file will be ignored. Default: True | 95 AS=Boolean If true (default), then the sort order in the header file will be ignored. Default: True |
104 | 96 |
105 @more_info@ | 97 @more_info@ |
106 | 98 |
107 </help> | 99 </help> |
108 <expand macro="citations" /> | 100 <expand macro="citations"/> |
109 </tool> | 101 </tool> |