Skip to content

Commit d53bcd6

Browse files
committed
Add union bedgraph example to project templates.
1 parent 97ee6d8 commit d53bcd6

File tree

5 files changed

+22
-0
lines changed

5 files changed

+22
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
wget https://raw.githubusercontent.com/galaxyproject/tools-iuc/master/tools/bedtools/test-data/unionBedGraphs1.bg -o unionBedGraphs1.bedgraph
3+
wget https://raw.githubusercontent.com/galaxyproject/tools-iuc/master/tools/bedtools/test-data/unionBedGraphs2.bg -o unionBedGraphs2.bedgraph
4+
wget https://raw.githubusercontent.com/galaxyproject/tools-iuc/master/tools/bedtools/test-data/unionBedGraphs3.bg -o unionBedGraphs3.bedgraph
5+
unionBedGraphs -i unionBedGraphs1.bedgraph -i unionBedGraphs2.bedgraph -i unionBedGraphs3.bedgraph > output.bedgraph
6+
7+
# 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'
8+
9+
# planemo t union_bedgraphs.xml ## Fails
10+
11+
# planemo t --conda_dependency_resolution --conda_auto_install --conda_auto_init union_bedgraphs.xml ## works...
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
chr1 1000 1500 10 0 0
2+
chr1 1980 2000 0 0 80
3+
chr1 2000 2070 20 0 80
4+
chr1 2070 2090 20 0 0
5+
chr1 2090 2100 20 0 20
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
chr1 1000 1500 10
2+
chr1 2000 2100 20
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
chr1 900 1600 60
2+
chr1 1700 2050 50
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
chr1 1980 2070 80
2+
chr1 2090 2100 20

0 commit comments

Comments
 (0)