Mercurial > repos > petr-novak > repeatexplorer2
comparison repex_tarean.xml @ 7:65d1a27e9339 draft default tip
planemo upload commit ccbd120278facd9aa39c1c46665ee994ebd3cff2-dirty
author | petr-novak |
---|---|
date | Mon, 16 Oct 2023 09:19:52 +0000 |
parents | 335d138b654b |
children |
comparison
equal
deleted
inserted
replaced
6:335d138b654b | 7:65d1a27e9339 |
---|---|
4 <regex match="error" source="stderr" level="fatal" description="Unknown error" /> | 4 <regex match="error" source="stderr" level="fatal" description="Unknown error" /> |
5 <regex match="warning" source="stderr" level="warning" description="Unknown warning" /> | 5 <regex match="warning" source="stderr" level="warning" description="Unknown warning" /> |
6 <exit_code range="1:" level="fatal" description="Error" /> | 6 <exit_code range="1:" level="fatal" description="Error" /> |
7 </stdio> | 7 </stdio> |
8 <description>Identification of genomic tandem repeats from NGS data</description> | 8 <description>Identification of genomic tandem repeats from NGS data</description> |
9 <requirements> | 9 <requirements> |
10 <requirement type="package">imagemagick</requirement> | 10 <container type="singularity">library://repeatexplorer/default/repex_tarean:0.3.8-dbaa07f</container> |
11 <requirement type="package">mafft</requirement> | 11 </requirements> |
12 <requirement type="package">blast</requirement> | |
13 <requirement type="package" version="0.9.29">diamond</requirement> | |
14 <requirement type="package">blast-legacy</requirement> | |
15 <requirement type="package">r-igraph</requirement> | |
16 <requirement type="package">r-data.tree</requirement> | |
17 <requirement type="package">r-stringr</requirement> | |
18 <requirement type="package">r-r2html</requirement> | |
19 <requirement type="package">r-hwriter</requirement> | |
20 <requirement type="package">r-dt</requirement> | |
21 <requirement type="package">r-scales</requirement> | |
22 <requirement type="package">r-plotrix</requirement> | |
23 <requirement type="package">r-png</requirement> | |
24 <requirement type="package">r-plyr</requirement> | |
25 <requirement type="package">r-dplyr</requirement> | |
26 <requirement type="package">r-optparse</requirement> | |
27 <requirement type="package">r-dbi</requirement> | |
28 <requirement type="package">r-rsqlite</requirement> | |
29 <requirement type="package">r-rserve</requirement> | |
30 <requirement type="package">bioconductor-biostrings</requirement> | |
31 <requirement type="package" version="2.3.8.1">repex_tarean</requirement> | |
32 <requirement type="set_environment">REPEX</requirement> | |
33 <requirement type="set_environment">REPEX_VERSION</requirement> | |
34 <requirement type="package" version="0.9.1">pyrserve</requirement> | |
35 </requirements> | |
36 <command detect_errors="exit_code"> | 12 <command detect_errors="exit_code"> |
37 export PYTHONHASHSEED=0; | 13 export PYTHONHASHSEED=0; |
38 \${REPEX}/seqclust --paired --sample ${read_sampling.sample} --output_dir=tarean_output --logfile=${log} --cleanup --tarean_mode | 14 seqclust --paired --sample ${read_sampling.sample} --output_dir=tarean_output --logfile=${log} --cleanup --tarean_mode |
39 #if $advanced_options.advanced: | 15 #if $advanced_options.advanced: |
40 --mincl $advanced_options.size_threshold $advanced_options.keep_names $advanced_options.automatic_filtering -M $advanced_options.merging | 16 --mincl $advanced_options.size_threshold $advanced_options.keep_names $advanced_options.automatic_filtering -M $advanced_options.merging |
41 #if $advanced_options.custom_library.options_custom_library : | 17 #if $advanced_options.custom_library.options_custom_library : |
42 -d $advanced_options.custom_library.library extra_database | 18 -d $advanced_options.custom_library.library extra_database |
43 #end if | 19 #end if |
51 ${FastaFile} >stdout.log 2> stderr.log ; | 27 ${FastaFile} >stdout.log 2> stderr.log ; |
52 echo "STDOUT CONTENT:" >> ${log} ; | 28 echo "STDOUT CONTENT:" >> ${log} ; |
53 cat stdout.log >> ${log} ; | 29 cat stdout.log >> ${log} ; |
54 echo "STDERR CONTENT:" >> ${log} ; | 30 echo "STDERR CONTENT:" >> ${log} ; |
55 cat stderr.log >> ${log} && | 31 cat stderr.log >> ${log} && |
56 \${REPEX}/stderr_filter.py stderr.log && | 32 /opt/repex_tarean/stderr_filter.py stderr.log && |
57 cd tarean_output && | 33 cd tarean_output && |
58 zip -r ${ReportArchive}.zip * && | 34 zip -r ${ReportArchive}.zip * && |
59 mv ${ReportArchive}.zip ${ReportArchive} && | 35 mv ${ReportArchive}.zip ${ReportArchive} && |
60 cp index.html ${ReportFile} && | 36 cp index.html ${ReportFile} && |
61 mkdir ${ReportFile.files_path} && | 37 mkdir -p ${ReportFile.extra_files_path} && |
62 cp -r --parents libdir ${ReportFile.files_path} && | 38 cp -r --parents libdir ${ReportFile.extra_files_path} && |
63 cp -r --parents seqclust/clustering/superclusters ${ReportFile.files_path} && | 39 cp -r --parents seqclust/clustering/superclusters ${ReportFile.extra_files_path} && |
64 cp -r --parents seqclust/clustering/clusters ${ReportFile.files_path} && | 40 cp -r --parents seqclust/clustering/clusters ${ReportFile.extra_files_path} && |
65 cp seqclust/clustering/hitsort.cls ${ReportFile.files_path}/seqclust/clustering/hitsort.cls && | 41 cp seqclust/clustering/hitsort.cls ${ReportFile.extra_files_path}/seqclust/clustering/hitsort.cls && |
66 cp *.png ${ReportFile.files_path}/ && | 42 cp *.png ${ReportFile.extra_files_path}/ && |
67 cp *.csv ${ReportFile.files_path}/ && | 43 cp *.csv ${ReportFile.extra_files_path}/ && |
68 cp *.html ${ReportFile.files_path}/ && | 44 cp *.html ${ReportFile.extra_files_path}/ && |
69 cp *.css ${ReportFile.files_path}/ && | 45 cp *.css ${ReportFile.extra_files_path}/ && |
70 cp *.fasta ${ReportFile.files_path}/ 2>>$log && rm -r ../tarean_output || : | 46 cp *.fasta ${ReportFile.extra_files_path}/ 2>>$log && rm -r ../tarean_output || : |
71 | 47 |
72 | 48 |
73 </command> | 49 </command> |
74 | 50 |
75 <inputs> | 51 <inputs> |
119 </param> | 95 </param> |
120 </conditional> | 96 </conditional> |
121 </when> | 97 </when> |
122 </conditional> | 98 </conditional> |
123 | 99 |
124 | 100 <conditional name="queue_definition"> |
101 <param name="queue_select" type="select" label="Select queue"> | |
102 <option value="basic_fast_queue">basic (max runtime 2 days, 4 GB RAM)</option> | |
103 <option value="long_slow_queue">long (max runtime 2 weeks, 64 GB RAM)</option> | |
104 <option value="extra_long_slow_queue">extra long (max runtime 4 weeks, 64 GB RAM)</option> | |
105 </param> | |
106 <when value="basic_fast_queue"> | |
107 <param name="queue_specification" type="text" label="Modify parameters (optional)" | |
108 value="-l select=1:ncpus=10:mem=32gb:scratch_local=50gb -l walltime=48:00:00 -q elixirre@pbs.elixir-czech.cz -v TAREAN_MAX_MEM=4000000,TAREAN_CPU=4" /> | |
109 </when> | |
110 | |
111 <when value="long_slow_queue"> | |
112 <param name="queue_specification" type="text" label="Modify parameters (optional)" | |
113 value="-l select=1:ncpus=16:mem=112gb:scratch_local=50gb -l walltime=336:00:00 -q elixirre@pbs.elixir-czech.cz -v TAREAN_MAX_MEM=64000000,TAREAN_CPU=15" /> | |
114 </when> | |
115 <when value="extra_long_slow_queue"> | |
116 <param name="queue_specification" type="text" label="Modify parameters (optional)" | |
117 value="-l select=1:ncpus=16:mem=112gb:scratch_local=50gb -l walltime=720:00:00 -q elixirre@pbs.elixir-czech.cz -v TAREAN_MAX_MEM=64000000,TAREAN_CPU=15" /> | |
118 </when> | |
119 </conditional> | |
120 | |
121 | |
125 | 122 |
126 </inputs> | 123 </inputs> |
127 <outputs> | 124 <outputs> |
128 <data name="log" format="txt" label="TAREAN log file"/> | 125 <data name="log" format="txt" label="TAREAN log file"/> |
129 <data name="ReportArchive" format="zip" label="TAREAN Archive with HTML report from data ${FastaFile.hid}"/> | 126 <data name="ReportArchive" format="zip" label="TAREAN Archive with HTML report from data ${FastaFile.hid}"/> |