# HG changeset patch # User geoffrey.dintilhac # Date 1576951233 18000 # Node ID fef10ad6ee1569844313e51e1135f659ff0f4e45 # Parent 68f7b5a4b1e2c7f6cb00d68f5b264fa37c96a565 Uploaded diff -r 68f7b5a4b1e2 -r fef10ad6ee15 bamtobed.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bamtobed.xml Sat Dec 21 13:00:33 2019 -0500 @@ -0,0 +1,116 @@ + + converter + + + bedtools + + + bamtobed.py + -i $input + -o $output + -oot $conditional.selector + + #if $conditional.selector =="Y": + -f $conditional.format_output_chosen + #end if + + -sc $score_calcul_selector.score_calcul_BED + #if $score_calcul_selector.score_calcul_BED =="tag": + -tag $score_calcul_selector.calcul_BED_tag + #end if + + #if $split_boolean =="Y": + -spt + #end if + + #if $cigar_boolean =="Y": + -cgr + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**What it does**: this tool converts sequence alignments in BAM format into BED, BED12 or BEDPE format running the command "bamtobed" of bedtools. + +.. class:: warningmark + +If you want a **BEDPE output**, your input has to be paired-end and sorted by read name. + +.. class:: warningmark + +About **score calculation** : the option "another tag" is disallowed with BEDPE output. + +.. class:: warningmark + +About the options **-split** and **-cigar** : -split is disallowed with edit-distance as a calculation for BED score. -cigar is not displayed with -splits, and disallowed with edit-distance as a calculation for BED score. + +.. class:: infomark + +For more information, please refer to this link : https://bedtools.readthedocs.io/en/latest/content/tools/bamtobed.html + +This wrapper is available to install into other Galaxy Instances via the Galaxy +Tool Shed at https://toolshed.g2.bx.psu.edu/view/geoffrey.dintilhac/bam_to_bed/68f7b5a4b1e2 + +**If you use this tool in Galaxy, please cite:** + + + + + 10.1093/bioinformatics/btq033 + + + + +