Mercurial > repos > peterjc > tmhmm_and_signalp
comparison tools/protein_analysis/promoter2.xml @ 9:e52220a9ddad draft
Uploaded v0.1.2
Use the new <stdio> settings in the XML wrappers to catch errors.
Obeys SGE style XNSLOTS environment variable for thread count (otherwise default to 4).
author | peterjc |
---|---|
date | Fri, 25 Jan 2013 06:08:31 -0500 |
parents | 976a5f2833cd |
children | 6abd809cefdd |
comparison
equal
deleted
inserted
replaced
8:976a5f2833cd | 9:e52220a9ddad |
---|---|
1 <tool id="promoter2" name="Promoter 2.0" version="0.0.2"> | 1 <tool id="promoter2" name="Promoter 2.0" version="0.0.3"> |
2 <description>Find eukaryotic PolII promoters in DNA sequences</description> | 2 <description>Find eukaryotic PolII promoters in DNA sequences</description> |
3 <!-- If job splitting is enabled, break up the query file into parts --> | 3 <!-- If job splitting is enabled, break up the query file into parts --> |
4 <!-- Using 2000 per chunk so 4 threads each doing 500 is ideal --> | 4 <!-- Using 2000 per chunk so 4 threads each doing 500 is ideal --> |
5 <parallelism method="basic" split_inputs="fasta_file" split_mode="to_size" split_size="2000" merge_outputs="tabular_file"></parallelism> | 5 <parallelism method="basic" split_inputs="fasta_file" split_mode="to_size" split_size="2000" merge_outputs="tabular_file"></parallelism> |
6 <command interpreter="python"> | 6 <command interpreter="python"> |
7 promoter2.py "\$NSLOTS" $fasta_file $tabular_file | 7 promoter2.py "\$NSLOTS" $fasta_file $tabular_file |
8 ##Set the number of threads in the runner entry in universe_wsgi.ini | 8 ##Set the number of threads in the runner entry in universe_wsgi.ini |
9 ##which (on SGE at least) will set the $NSLOTS environment variable. | 9 ##which (on SGE at least) will set the $NSLOTS environment variable. |
10 ##If the environment variable isn't set, get "", and defaults to one. | 10 ##If the environment variable isn't set, get "", and defaults to one. |
11 </command> | 11 </command> |
12 <stdio> | |
13 <!-- Anything other than zero is an error --> | |
14 <exit_code range="1:" /> | |
15 <exit_code range=":-1" /> | |
16 </stdio> | |
12 <inputs> | 17 <inputs> |
13 <param name="fasta_file" type="data" format="fasta" label="FASTA file of DNA sequences"/> | 18 <param name="fasta_file" type="data" format="fasta" label="FASTA file of DNA sequences"/> |
14 </inputs> | 19 </inputs> |
15 <outputs> | 20 <outputs> |
16 <data name="tabular_file" format="tabular" label="Promoter2 on ${fasta_file.name}" /> | 21 <data name="tabular_file" format="tabular" label="Promoter2 on ${fasta_file.name}" /> |