Mercurial > repos > devteam > picard
comparison picard_CollectBaseDistributionByCycle.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="CollectBaseDistributionByCycle" id="picard_CollectBaseDistributionByCycle" version="@TOOL_VERSION@.@WRAPPER_VERSION@"> | 1 <tool name="CollectBaseDistributionByCycle" id="picard_CollectBaseDistributionByCycle" version="@TOOL_VERSION@.@WRAPPER_VERSION@" profile="@PROFILE@"> |
| 2 <description>charts the nucleotide distribution per cycle in a SAM or BAM dataset</description> | 2 <description>charts the nucleotide distribution per cycle in a SAM or BAM dataset</description> |
| 3 <macros> | 3 <macros> |
| 4 <import>picard_macros.xml</import> | 4 <import>picard_macros.xml</import> |
| 5 <token name="@WRAPPER_VERSION@">2</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 CollectBaseDistributionByCycle |
| 20 CollectBaseDistributionByCycle | 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 --ALIGNED_READS_ONLY '${aligned_reads_only}' |
| 24 ALIGNED_READS_ONLY="${aligned_reads_only}" | 23 --PF_READS_ONLY '${pf_reads_only}' |
| 25 PF_READS_ONLY="${pf_reads_only}" | 24 --REFERENCE_SEQUENCE '${reference_fasta_filename}' |
| 26 REFERENCE_SEQUENCE="${reference_fasta_filename}" | 25 --ASSUME_SORTED '${assume_sorted}' |
| 27 ASSUME_SORTED="${assume_sorted}" | |
| 28 | 26 |
| 29 VALIDATION_STRINGENCY="${validation_stringency}" | 27 --VALIDATION_STRINGENCY '${validation_stringency}' |
| 30 QUIET=true | 28 --QUIET true |
| 31 VERBOSITY=ERROR | 29 --VERBOSITY ERROR |
| 32 | 30 |
| 33 ]]></command> | 31 ]]></command> |
| 34 <inputs> | 32 <inputs> |
| 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."/> | 33 <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."/> |
| 36 <conditional name="reference_source"> | 34 <conditional name="reference_source"> |
| 37 <param name="reference_source_selector" type="select" label="Load reference genome from"> | 35 <param name="reference_source_selector" type="select" label="Load reference genome from"> |
| 38 <option value="cached">Local cache</option> | 36 <option value="cached">Local cache</option> |
| 39 <option value="history">History</option> | 37 <option value="history">History</option> |
| 40 </param> | 38 </param> |
| 41 <when value="cached"> | 39 <when value="cached"> |
| 42 <param name="ref_file" type="select" label="Using reference genome" help="REFERENCE_SEQUENCE"> | 40 <param name="ref_file" type="select" label="Using reference genome" help="REFERENCE_SEQUENCE"> |
| 43 <options from_data_table="all_fasta"> | 41 <options from_data_table="all_fasta"> |
| 44 </options> | 42 </options> |
| 45 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> | 43 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> |
| 46 </param> | 44 </param> |
| 47 </when> | 45 </when> |
| 48 <when value="history"> | 46 <when value="history"> |
| 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" /> | 47 <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"/> |
| 50 </when> | 48 </when> |
| 51 </conditional> | 49 </conditional> |
| 52 <param name="aligned_reads_only" type="boolean" label="Calculate the base distribution over aligned reads only" checked="true" truevalue="true" falsevalue="false" help="ALIGNED_READS_ONLY"/> | 50 <param name="aligned_reads_only" type="boolean" label="Calculate the base distribution over aligned reads only" checked="true" truevalue="true" falsevalue="false" help="ALIGNED_READS_ONLY"/> |
| 53 <param name="pf_reads_only" type="boolean" label="Calculate the base distribution over PF (passing filtering) reads only" checked="true" truevalue="true" falsevalue="false" help="PF_READS_ONLY"/> | 51 <param name="pf_reads_only" 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="assume_sorted" type="boolean" label="Assume the input file is already sorted" checked="true" truevalue="true" falsevalue="false" help="ASSUME_SORTED"/> | 52 <param name="assume_sorted" type="boolean" label="Assume the input file is already sorted" checked="true" truevalue="true" falsevalue="false" help="ASSUME_SORTED"/> |
| 55 | 53 <expand macro="VS"/> |
| 56 <expand macro="VS" /> | 54 </inputs> |
| 57 | 55 <outputs> |
| 58 </inputs> | 56 <data format="tabular" name="outFile" label="${tool.name} on ${on_string}: tabular"/> |
| 59 | 57 <data format="pdf" name="pdfFile" label="${tool.name} on ${on_string}: PDF"/> |
| 60 <outputs> | 58 </outputs> |
| 61 <data format="tabular" name="outFile" label="${tool.name} on ${on_string}: tabular"/> | 59 <tests> |
| 62 <data format="pdf" name="pdfFile" label="${tool.name} on ${on_string}: PDF"/> | 60 <test> |
| 63 </outputs> | 61 <param name="aligned_reads_only" value="true"/> |
| 64 | 62 <param name="pf_reads_only" value="true"/> |
| 65 <tests> | 63 <param name="assume_sorted" value="true"/> |
| 66 <test> | 64 <param name="reference_source_selector" value="history"/> |
| 67 <param name="aligned_reads_only" value="true" /> | 65 <param name="ref_file" value="picard_CollectBaseDistributionByCycle_ref.fa"/> |
| 68 <param name="pf_reads_only" value="true" /> | 66 <param name="inputFile" value="picard_CollectBaseDistributionByCycle.bam" ftype="bam"/> |
| 69 <param name="assume_sorted" value="true" /> | 67 <output name="outFile" file="picard_CollectBaseDistributionByCycle_test1.tab" ftype="tabular" lines_diff="4"/> |
| 70 <param name="reference_source_selector" value="history" /> | 68 </test> |
| 71 <param name="ref_file" value="picard_CollectBaseDistributionByCycle_ref.fa" /> | 69 </tests> |
| 72 <param name="inputFile" value="picard_CollectBaseDistributionByCycle.bam" ftype="bam" /> | 70 <help> |
| 73 <output name="outFile" file="picard_CollectBaseDistributionByCycle_test1.tab" ftype="tabular" lines_diff="4"/> | |
| 74 </test> | |
| 75 </tests> | |
| 76 | |
| 77 | |
| 78 <help> | |
| 79 | 71 |
| 80 .. class:: infomark | 72 .. class:: infomark |
| 81 | 73 |
| 82 **Purpose** | 74 **Purpose** |
| 83 | 75 |
| 102 AS=Boolean If true (default), then the sort order in the header file will be ignored. Default | 94 AS=Boolean If true (default), then the sort order in the header file will be ignored. Default |
| 103 | 95 |
| 104 @more_info@ | 96 @more_info@ |
| 105 | 97 |
| 106 </help> | 98 </help> |
| 107 <expand macro="citations" /> | 99 <expand macro="citations"/> |
| 108 </tool> | 100 </tool> |
