# HG changeset patch # User devteam # Date 1393302578 18000 # Node ID ae3d9a7c839935f56f47bc7705613998eeff61ff # Parent cd321dcb66d5b9d83593fc2933e9446710811b27 Uploaded diff -r cd321dcb66d5 -r ae3d9a7c8399 picard_FixMateInformation.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/picard_FixMateInformation.xml Mon Feb 24 23:29:38 2014 -0500 @@ -0,0 +1,107 @@ + + for paired data + + picard_wrapper.py -i "${input_file}" -o "${out_file}" --tmpdir "${__new_file_path__}" -n "${out_prefix}" + --output-format "${outputFormat}" -j "\$JAVA_JAR_PATH/FixMateInformation.jar" --sortorder "${sortOrder}" + + picard + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +.. class:: infomark + +**Purpose** + +Ensure that all mate-pair information is in sync between each read and it's mate pair. + +**Picard documentation** + +This is a Galaxy wrapper for FixMateInformation, a part of the external package Picard-tools_. + + .. _Picard-tools: http://www.google.com/search?q=picard+samtools + +.. class:: warningmark + +**Useful for paired data only** + +Likely won't do anything helpful for single end sequence data +Currently, Galaxy doesn't distinguish paired from single ended SAM/BAM so make sure +the data you choose are valid (paired end) SAM or BAM data - unless you trust this +tool not to harm your data. + +----- + +.. class:: infomark + +**Syntax** + +- **Input** - a paired read sam/bam format aligned short read data in your current history +- **Sort order** - can be used to adjust the ordering of reads +- **Title** - the title to use for all output files from this job - use it for high level metadata +- **Output Format** - either SAM or compressed as BAM + +----- + +.. class:: infomark + +**Inputs, outputs, and parameters** + +.. csv-table:: + + :header-rows: 1 + + Option,Description + "INPUT=File","The input file to fix. This option may be specified 0 or more times." + "OUTPUT=File","The output file to write to" + "SORT_ORDER=SortOrder","Optional sort order if the OUTPUT file should be sorted differently than the INPUT file. Default value: null. Possible values: {unsorted, queryname, coordinate}" + "CREATE_MD5_FILE=Boolean","Whether to create an MD5 digest for any BAM files created. Default value: false" + +.. class:: warningmark + +**Warning on SAM/BAM quality** + +Many SAM/BAM files produced externally and uploaded to Galaxy do not fully conform to SAM/BAM specifications. Galaxy deals with this by using the **LENIENT** +flag when it runs Picard, which allows reads to be discarded if they're empty or don't map. This appears +to be the only way to deal with SAM/BAM that cannot be parsed. + + + + + +