-
Notifications
You must be signed in to change notification settings - Fork 1
/
merge_two_replicates.xml
43 lines (30 loc) · 1.31 KB
/
merge_two_replicates.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<tool id="merge_two_replicates" name="Merge two biological replicates" version='17.09'>
<description></description>
<command><![CDATA[
/home/miniconda2/bin/bedtools sort -i ${peak1} > ${peak1}_sort.bed &&
/home/miniconda2/bin/bedtools sort -i ${peak2} > ${peak2}_sort.bed &&
/home/miniconda2/bin/bedtools intersect -a ${peak1}_sort.bed -b ${peak2}_sort.bed | cut -f1-3 | sort | uniq > ${outBed}
]]></command>
<inputs>
<param name="peak1" type="data" format="tsv,encodepeak,bed,txt" multiple="false" label="Peak regions for biological replicate 1" help=""/>
<param name="peak2" type="data" format="tsv,encodepeak,bed,txt" multiple="false" label="Peak regions for biological replicate 2" help=""/>
</inputs>
<stdio>
<exit_code range="1:" level="fatal" description="Error Running combine collection to a file" />
</stdio>
<outputs>
<data name="outBed" format="txt" label= "intersect.bed">
</data>
</outputs>
<help>
.. class:: infomark
**What it does**
This function is designed to obtain consistent RNA modifications between two biological replicates by using bedtools.
.. class:: infomark
**Inputs**
- **Peak regions for biological replicate 1**
- **Peak regions for biological replicate 2**
**Outputs**
- **Consistent peak regions between two biological replicates**
</help>
</tool>