# HG changeset patch # User geoffrey.dintilhac # Date 1574442461 18000 # Node ID aba7a47e9ed2d58c0c68b612a8aab1bb3772360d # Parent c1f46404277e95ca86bff3f9c08395dd5ed9bffe Uploaded diff -r c1f46404277e -r aba7a47e9ed2 bamtobed.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bamtobed.xml Fri Nov 22 12:07:41 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 + +**If you use this tool in Galaxy, please cite:** + + + + + 10.1093/bioinformatics/btq033 + + + + +