annotate wellington_footprints.xml @ 8:777faad85c7c draft default tip

Uploaded
author sjung
date Wed, 24 May 2017 01:03:50 -0400
parents 9920c489a5c3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
1 <tool id="wellington_footprints" name="Wellington Footprints" version="0.2.5">
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
2 <description>accurate identification of digital genomic footprints from DNase-seq data</description>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
3 <requirements>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
4 <requirement type="package">pymodules</requirement>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
5 </requirements>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
6 <command>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
7 #set $final_output = $output.extra_files_path + "/input.bam.input.bed.WellingtonFootprints.FDR.0.01.bed"
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
8 mkdir $output.extra_files_path;
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
9 ln -s $bam_file input.bam;
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
10 ln -s $bam_file.metadata.bam_index input.bam.bai;
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
11 ln -s $bed_file input.bed;
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
12 wellington_footprints.py input.bed input.bam $output.extra_files_path -fdrlimit $fdrlimit;
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
13 cp $final_output $output;
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
14 rm -rf $output.extra_files_path
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
15 </command>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
16 <stdio>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
17 <exit_code range="1:" level="fatal" description="Error produced" />
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
18 </stdio>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
19 <inputs>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
20 <param help="" format="bam" label="Input BAM" name="bam_file" type="data"/>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
21 <param help="" format="bed" label="Input BED" name="bed_file" type="data"/>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
22 <param help="" label="FDR Limit" value="0" name="fdrlimit" type="integer"/>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
23 </inputs>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
24
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
25 <outputs>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
26 <data format="bed" label="${tool.name} on ${on_string}" name="output" />
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
27 </outputs>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
28 <tests>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
29 <test>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
30 </test>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
31 </tests>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
32 <help>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
33 </help>
9920c489a5c3 Uploaded
sjung
parents:
diff changeset
34 </tool>