view extract_aln_ends.xml @ 2:6d41997eabdc draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 758b42538f722759e7b5414f64c9a7973cc221b4"
author iuc
date Wed, 25 Dec 2019 11:39:29 -0500
parents 0e70f9058b02
children
line wrap: on
line source

<tool id="bctools_extract_alignment_ends" name="Extract alignment ends" version="@VERSION@">
    <description>from SAM or BAM</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <command detect_errors="exit_code"><![CDATA[
        extract_aln_ends.py
        '$alignments'
        > '$alignment_ends'
    ]]></command>
    <inputs>
        <param name="alignments" type="data" format="sam,bam" label="Alignments in SAM or BAM format"/>
    </inputs>
    <outputs>
        <data name="alignment_ends" format="bed"/>
    </outputs>
    <tests>
        <test>
            <param name="alignments" value="twomates.sam"/>
            <output name="alignment_ends" file="tworeads_aln_ends.bed"/>
        </test>
    </tests>
    <help><![CDATA[

bctools - Extract alignment ends from from SAM or BAM alignments
================================================================

The resulting BED file contains the outer coordinates of the alignments. The BED
name field is set to the read id and the score field is set to the edit distance
of the alignment. The crosslinked nucleotide is one nt upstream of the 5'-end of
the BED entries.

This tool only reports results for alignments that are properly aligned in FR
("forward-reverse") direction.

Input:
------

* BAM file containing alignments (paired-end sequencing)

Output:
-------

* BED file containing outer coordinates (sorted by read id)

    ]]></help>
    <expand macro="citations"/>
</tool>