comparison temp.xml @ 0:28d1a6f8143f draft

planemo upload for repository https://github.com/portiahollyoak/Tools commit 132bb96bba8e7aed66a102ed93b7744f36d10d37-dirty
author portiahollyoak
date Mon, 25 Apr 2016 13:08:56 -0400
parents
children 39cbc0965e07
comparison
equal deleted inserted replaced
-1:000000000000 0:28d1a6f8143f
1 <tool id ="run_TEMP" name="Run TEMP" version=" 0.1.0">
2 <description></description>
3 <requirements>
4 <requirement type="package" version="1.6.924">perl-bioperl</requirement>
5 <requirement type="package" version="0.7.13">bwa</requirement>
6 <requirement type="package" version="2.25.0">bedtools</requirement>
7 <requirement type="package" version="0.1.19">samtools</requirement>
8 <requirement type="package" version="324">ucsc-twobittofa</requirement>
9 </requirements>
10 <stdio>
11 <exit_code range="1:" />
12 </stdio>
13 <command><![CDATA[
14
15 ln -f -s "${alignment.metadata.bam_index}" "${alignment.element_identifier}.bai" &&
16 ln -f -s "${alignment}" "${alignment.element_identifier}.bam" &&
17 bash $__tool_directory__/scripts/TEMP_Insertion.sh -i "$alignment" -s $__tool_directory__/scripts -r "$consensus_te_seqs" -t "$bed_te_locations" -m 3 -f "$median_insertsize" -c \${GALAXY_SLOTS:-2} &&
18 bash $__tool_directory__/scripts/TEMP_Absence.sh -i "$alignment" -s $__tool_directory__/scripts -r "$bed_te_locations" -t "$reference2bit" -f 500 -c \${GALAXY_SLOTS:-2} &&
19 mv ${alignment.element_identifier}.insertion.bp.bed $insertion_bed &&
20 mv ${alignment.element_identifier}.insertion.refined.bp $insertion_bed_refined &&
21 mv ${alignment.element_identifier}.insertion.refined.bp.summary $insertion_summary &&
22 mv ${alignment.element_identifier}.absence.refined.bp.summary $absence_summary &&
23 zip $archive *insertion* *excision* *absence*
24 ]]></command>
25 <inputs>
26 <param format="bam" name="alignment" type="data" label="Alignment bam file"/>
27 <param format="twobit" name="reference2bit" type="data" label="Reference twobit file"/>
28 <param format="fasta" name="consensus_te_seqs" type="data" label="Consensus TE Seqs fasta file"/>
29 <param format="bed" name="bed_te_locations" type="data" label="TE Locations bed file"/>
30 <!--
31 <param format="tabular" name="te_families" type="data" label="TE Families"/>
32 <param format="gff" name="gff_te_locations" type="data" label="Reference TE insertion Locations with Family ID names GFF file"/>
33 -->
34 <param format="txt" name="median_insertsize" type="data" label="Median Insert Length"/>
35 </inputs>
36 <outputs>
37 <data format="bed" type="data" name="insertion_bed" Label="Insertion BED file" />
38 <data format="bed" type="data" name="insertion_bed_refined" Label="Insertion BED file (refined)" />
39 <data format="bed" type="data" name="insertion_summary" Label="Insertion summary file" />
40 <data format="bed" type="data" name="absence_summary" Label="Absence summary file" />
41 <data format="zip" type="data" name="archive" Label="Compressed output files" />
42 </outputs>
43 <tests>
44 <test>
45 <param name="alignment" value="test_chromosome.sorted.bam" ftype="bam"/>
46 <param name="reference2bit" value="dm3_chr2L.2bit" ftype="twobit"/>
47 <param name="consensus_te_seqs" value="test_consensus.fa" ftype="fasta"/>
48 <param name="bed_te_locations" value="test_TE_annotation.bed" ftype="bed"/>
49 <output name="insertion_bed" file="test_chromosome.insertion.bp.bed" ftype="bed" />
50 <output name="insertion_bed_refined" file="test_chromosome.insertion.refined.bp" ftype="bed"/>
51 <output name="insertion_summary" file="test_chromosome.insertion.refined.bp.summary" ftype="bed"/>
52 <output name="absence_summary" file="test_chromosome.absence.refined.bp.summary" ftype="bed"/>
53 </test>
54 </tests>
55 <help> <![CDATA[
56
57
58 TEMP is a software package for detecting transposable elements (TEs) insertions and absences from pooled high-throughput sequencing data
59
60 Current version v1.04
61
62 Author: Jiali Zhuang (jiali.zhuang@umassmed.edu) and Jie Wang (jie.wangj@umassmed.edu) Weng Lab, University of Massachusetts Medical School, Worcester, MA, USA
63
64 For TE insertion analysis run TEMP_Insertion.sh in script.
65 For TE absence analysis run TEMP_Absence.sh in script.
66
67
68 ]]> </help>
69 </tool>