Permalink
Browse files

Add union bedgraph example to project templates.

  • Loading branch information...
jmchilton committed Jun 27, 2016
1 parent 97ee6d8 commit d53bcd6cc85bb07258d990320d6c240f90d4e18c
@@ -0,0 +1,11 @@
#!/bin/bash
wget https://raw.githubusercontent.com/galaxyproject/tools-iuc/master/tools/bedtools/test-data/unionBedGraphs1.bg -o unionBedGraphs1.bedgraph
wget https://raw.githubusercontent.com/galaxyproject/tools-iuc/master/tools/bedtools/test-data/unionBedGraphs2.bg -o unionBedGraphs2.bedgraph
wget https://raw.githubusercontent.com/galaxyproject/tools-iuc/master/tools/bedtools/test-data/unionBedGraphs3.bg -o unionBedGraphs3.bedgraph
unionBedGraphs -i unionBedGraphs1.bedgraph -i unionBedGraphs2.bedgraph -i unionBedGraphs3.bedgraph > output.bedgraph

# planemo tool_init --force --id union_bedgraphs --requirement bedtools --name 'Union Bedgraphs' --example_command 'unionBedGraphs -i unionBedGraphs1.bg -i unionBedGraphs2.bg -i unionBedGraphs3.bg > output.bedgraph' --example_input 'unionBedGraphs1.bg' --example_input 'unionBedGraphs2.bg' --example_input 'unionBedGraphs3.bg' --example_output 'output.bedgraph' --test_case --doi '10.1093/bioinformatics/btq033' --help_text 'Union BedGraphs'

# planemo t union_bedgraphs.xml ## Fails

# planemo t --conda_dependency_resolution --conda_auto_install --conda_auto_init union_bedgraphs.xml ## works...
@@ -0,0 +1,5 @@
chr1 1000 1500 10 0 0
chr1 1980 2000 0 0 80
chr1 2000 2070 20 0 80
chr1 2070 2090 20 0 0
chr1 2090 2100 20 0 20
@@ -0,0 +1,2 @@
chr1 1000 1500 10
chr1 2000 2100 20
@@ -0,0 +1,2 @@
chr1 900 1600 60
chr1 1700 2050 50
@@ -0,0 +1,2 @@
chr1 1980 2070 80
chr1 2090 2100 20

0 comments on commit d53bcd6

Please sign in to comment.