Mercurial > repos > iuc > bedtools
changeset 35:b28e0cfa7ba1 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
| author | iuc |
|---|---|
| date | Fri, 06 Sep 2019 14:29:59 -0400 |
| parents | dde39ba9c031 |
| children | 0a5c785ac6db |
| files | annotateBed.xml bamToBed.xml bamToFastq.xml bedpeToBam.xml coverageBed.xml fisherBed.xml intersectBed.xml jaccardBed.xml macros.xml makeWindowsBed.xml multiIntersectBed.xml tagBed.xml test-data/bamToFastq_result1.fastq test-data/jaccardBed_result1.bed test-data/jaccardBed_result2.bed test-data/srma_in3.bam |
| diffstat | 16 files changed, 17 insertions(+), 93 deletions(-) [+] |
line wrap: on
line diff
--- a/annotateBed.xml Mon Apr 29 05:55:48 2019 -0400 +++ b/annotateBed.xml Fri Sep 06 14:29:59 2019 -0400 @@ -1,4 +1,4 @@ -<tool id="bedtools_annotatebed" name="bedtools AnnotateBed" version="@TOOL_VERSION@+galaxy1"> +<tool id="bedtools_annotatebed" name="bedtools AnnotateBed" version="@TOOL_VERSION@"> <description>annotate coverage of features from multiple files</description> <macros> <import>macros.xml</import>
--- a/bamToBed.xml Mon Apr 29 05:55:48 2019 -0400 +++ b/bamToBed.xml Fri Sep 06 14:29:59 2019 -0400 @@ -9,7 +9,7 @@ <expand macro="stdio" /> <command><![CDATA[ #if $input.extension == 'bam' and $option == "-bedpe": - samtools sort -n '${input}' ./input && + samtools sort -n -T "\${TMPDIR:-.}" '${input}' ./input && #else ln -s '${input}' ./input.bam && #end if
--- a/bamToFastq.xml Mon Apr 29 05:55:48 2019 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,43 +0,0 @@ -<tool id="bedtools_bamtofastq" name="bedtools Convert from BAM to FastQ" version="@TOOL_VERSION@"> - <description></description> - <macros> - <import>macros.xml</import> - </macros> - <expand macro="requirements" /> - <expand macro="stdio" /> - <command><![CDATA[ -bedtools bamtofastq -$tags --i '$input' --fq '$output' -#if $fq2: - -fq2 '$output2' -#end if - ]]></command> - <inputs> - <param name="input" type="data" format="bam" label="Convert the following BAM file to FASTQ"/> - <param argument="-tags" type="boolean" truevalue="-tags" falsevalue="" checked="false" label="Create FASTQ based on the mate info in the BAM R2 and Q2 tags."/> - <param argument="-fq2" type="boolean" truevalue="-fq2" falsevalue="" checked="false" label="FASTQ for second end" - help="Used if BAM contains paired-end data. BAM should be sorted by query name if creating paired FASTQ with this option."/> - </inputs> - <outputs> - <data name="output" format="fastq" metadata_source="input" label="${input.name} (as FASTQ)"/> - <data name="output2" format="fastq" metadata_source="input" label="${input.name} (as FASTQ)"> - <filter>fq2 is True</filter> - </data> - </outputs> - <tests> - <test> - <param name="input" value="srma_in3.bam" ftype="bam" /> - <output name="output" file="bamToFastq_result1.fastq" ftype="fastq" /> - </test> - </tests> - <help><![CDATA[ -**What it does** - -bedtools bamtofastq is a conversion utility for extracting FASTQ records from sequence alignments in BAM format. - -@REFERENCES@ - ]]></help> - <expand macro="citations" /> -</tool>
--- a/bedpeToBam.xml Mon Apr 29 05:55:48 2019 -0400 +++ b/bedpeToBam.xml Fri Sep 06 14:29:59 2019 -0400 @@ -3,7 +3,10 @@ <macros> <import>macros.xml</import> </macros> - <expand macro="requirements" /> + <!-- bedtobam broken in 2.29.0 <expand macro="requirements" /> --> + <requirements> + <requirement type="package" version="2.27.1">bedtools</requirement> + </requirements> <expand macro="stdio" /> <command><