Mercurial > repos > richard-burhans > rdeval
annotate rdeval_report.xml @ 10:f109ce5dbfe2 draft default tip
planemo upload for repository https://github.com/vgl-hub/rdeval commit a424fbc2d1bf459e5c491da0267d622b9400f813
| author | richard-burhans |
|---|---|
| date | Wed, 05 Nov 2025 16:17:02 +0000 |
| parents | fdad714d7caf |
| children |
| rev | line source |
|---|---|
|
4
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
1 <tool id="rdeval_report" name="rdeval report" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
2 <description>Read summary and figures.</description> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
3 <macros> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
5 </macros> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
8 mkdir render && |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
9 cd render && |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
10 export RDEVAL_SHARE_DIR="\$(dirname \$(dirname \$(type -P rdeval)))/share/rdeval" && |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
11 ln -s "\$RDEVAL_SHARE_DIR/figures.Rmd" && |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
12 ln -s "\$RDEVAL_SHARE_DIR/rdeval_interface.R" && |
|
5
7cfeba6facd1
planemo upload for repository https://github.com/vgl-hub/rdeval commit d55c4b3d6b91d0418950ed6b7806ef779a916099
richard-burhans
parents:
4
diff
changeset
|
13 #set $input_file_list = [] |
|
7cfeba6facd1
planemo upload for repository https://github.com/vgl-hub/rdeval commit d55c4b3d6b91d0418950ed6b7806ef779a916099
richard-burhans
parents:
4
diff
changeset
|
14 #for $idx, $input_file in enumerate($input_files) |
|
7cfeba6facd1
planemo upload for repository https://github.com/vgl-hub/rdeval commit d55c4b3d6b91d0418950ed6b7806ef779a916099
richard-burhans
parents:
4
diff
changeset
|
15 ln -s '$input_file' '${idx}.rd' && |
|
7cfeba6facd1
planemo upload for repository https://github.com/vgl-hub/rdeval commit d55c4b3d6b91d0418950ed6b7806ef779a916099
richard-burhans
parents:
4
diff
changeset
|
16 #silent $input_file_list.append(f"'{idx}.rd'") |
|
4
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
17 #end for |
|
5
7cfeba6facd1
planemo upload for repository https://github.com/vgl-hub/rdeval commit d55c4b3d6b91d0418950ed6b7806ef779a916099
richard-burhans
parents:
4
diff
changeset
|
18 #set $r_vector = "c(" + ",".join(input_file_list) + ")" |
|
7cfeba6facd1
planemo upload for repository https://github.com/vgl-hub/rdeval commit d55c4b3d6b91d0418950ed6b7806ef779a916099
richard-burhans
parents:
4
diff
changeset
|
19 #set $interactive_value = "FALSE" |
|
8
fdad714d7caf
planemo upload for repository https://github.com/vgl-hub/rdeval commit 4cc1663a537f4923c95e13f38abaa0c660cc657f
richard-burhans
parents:
5
diff
changeset
|
20 #if $interactive |
|
5
7cfeba6facd1
planemo upload for repository https://github.com/vgl-hub/rdeval commit d55c4b3d6b91d0418950ed6b7806ef779a916099
richard-burhans
parents:
4
diff
changeset
|
21 #set $interactive_value = "TRUE" |
|
7cfeba6facd1
planemo upload for repository https://github.com/vgl-hub/rdeval commit d55c4b3d6b91d0418950ed6b7806ef779a916099
richard-burhans
parents:
4
diff
changeset
|
22 #end if |
|
8
fdad714d7caf
planemo upload for repository https://github.com/vgl-hub/rdeval commit 4cc1663a537f4923c95e13f38abaa0c660cc657f
richard-burhans
parents:
5
diff
changeset
|
23 R -e "rmarkdown::render('figures.Rmd', output_file='$outfile', output_format='html_document', params=list(input_files=$r_vector, interactive='$interactive_value'))" |
|
4
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
24 ]]></command> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
25 <inputs> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
26 <param name="input_files" type="data" format="data" multiple="true" label="Input dataset" help="RD files"/> |
|
8
fdad714d7caf
planemo upload for repository https://github.com/vgl-hub/rdeval commit 4cc1663a537f4923c95e13f38abaa0c660cc657f
richard-burhans
parents:
5
diff
changeset
|
27 <param name="interactive" type="boolean" value="true" label="interactive" help="interactive"/> |
|
4
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
28 </inputs> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
29 <outputs> |
|
8
fdad714d7caf
planemo upload for repository https://github.com/vgl-hub/rdeval commit 4cc1663a537f4923c95e13f38abaa0c660cc657f
richard-burhans
parents:
5
diff
changeset
|
30 <data name="outfile" format="html" label="Rdeval report"/> |
|
4
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
31 </outputs> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
32 <tests> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
33 <test expect_num_outputs="1"> |
|
5
7cfeba6facd1
planemo upload for repository https://github.com/vgl-hub/rdeval commit d55c4b3d6b91d0418950ed6b7806ef779a916099
richard-burhans
parents:
4
diff
changeset
|
34 <param name="input_files" value="input1.rd"/> |
|
7cfeba6facd1
planemo upload for repository https://github.com/vgl-hub/rdeval commit d55c4b3d6b91d0418950ed6b7806ef779a916099
richard-burhans
parents:
4
diff
changeset
|
35 <output name="outfile" ftype="html"> |
|
4
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
36 <assert_contents> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
37 <has_size size="833000" delta="8330"/> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
38 </assert_contents> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
39 </output> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
40 </test> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
41 </tests> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
42 <help><![CDATA[ |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
43 This tool creates a report containing a read summary and figures from input RD files. |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
44 ]]></help> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
45 <expand macro="citations"/> |
|
7bf95986aaa4
planemo upload for repository https://github.com/vgl-hub/rdeval commit 0d51c740073961b52774f611929f062b06de80da
richard-burhans
parents:
diff
changeset
|
46 </tool> |
