view picard_CleanSam.xml @ 12:05087b27692a draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
author devteam
date Sun, 27 Nov 2016 15:11:50 -0500
parents 3a3234d7a2e8
children 7e6fd3d0f16e
line wrap: on
line source

<tool id="picard_CleanSam" name="CleanSam" version="@TOOL_VERSION@.0">
  <description>perform SAM/BAM grooming</description>
  <macros>
    <import>picard_macros.xml</import>
  </macros>
  <expand macro="requirements" />
  <command detect_errors="exit_code"><![CDATA[
    @java_options@
    picard
    CleanSam
    INPUT="${inputFile}"
    OUTPUT="${outFile}"
    QUIET=true
    VERBOSITY=ERROR
    VALIDATION_STRINGENCY=${validation_stringency}
  ]]></command>
  
  <inputs>
    <param name="inputFile" type="data" format="sam,bam" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM/BAM dataset"/>
    
    <expand macro="VS" />
    
  </inputs>
  
  <outputs>
    <data name="outFile" format="bam" label="${tool.name} on ${on_string}: cleaned BAM dataset">
    </data>
  </outputs>
  
  
  <tests>
    <test>
      <param name="inputFile" ftype="bam" value="picard_CleanSam.bam" />
      <output name="outFile" file="picard_CleanSam_test1.bam" ftype="bam" />
    </test>
  </tests>
  
  <help>

.. class:: infomark

**Purpose**

Read SAM/BAM and perform various fix-ups. Currently, the only fix-ups are:

 1. to soft-clip an alignment that hangs off the end of its reference sequence.
 2. to set MAPQ to 0 if a read is unmapped.
 
@dataset_collections@
 
@more_info@

  </help>
</tool>