Mercurial > repos > iuc > pairtools_stats
annotate stats.xml @ 3:c20a07c9237b draft default tip
planemo upload for repository https://github.com/open2c/pairtools commit 13aa776596c927adff29d936740ac80f0e37375d
author | iuc |
---|---|
date | Tue, 21 May 2024 16:04:10 +0000 |
parents | 3c87fa1a3b50 |
children |
rev | line source |
---|---|
0
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
1 <tool id="pairtools_stats" name="Pairtools Stats" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="23.2" license="MIT"> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
2 <description>Calculates pairs statistics for input pairs and pairsam files.</description> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
3 <macros> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
5 </macros> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
8 pairtools stats |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
9 $merge |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
10 $with_chromsizes |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
11 $yaml |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
12 -o '$pairs_output' |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
13 --nproc-in \${GALAXY_SLOTS:-4} |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
14 --nproc-out \${GALAXY_SLOTS:-4} |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
15 #if $input_file: |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
16 ${str($input_file).replace(',', ' ')} |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
17 #end if |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
18 ]]></command> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
19 <inputs> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
20 <param type="data" name="input_file" format="4dn_pairs,4dn_pairsam" multiple="true" label="Input pairs or pairsam file" help="Input 4dn pairs or pairsam file"></param> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
21 <param type="boolean" argument="--merge" truevalue="--merge" falsevalue="" checked="False" label="Merge input stats files" help="If selected, will merge multiple input stats files instead of calculating statistics of .pairs/.pairsam file"></param> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
22 <param type="boolean" argument="--with-chromsizes" truevalue="--with-chromsizes" falsevalue="" checked="False" label="Store sizes of chromosomes from the header of the pairs file in the stats file"></param> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
23 <param type="boolean" argument="--yaml" truevalue="--yaml" falsevalue="" checked="False" label="Output stats in yaml format instead of table"></param> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
24 </inputs> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
25 <outputs> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
26 <data name="pairs_output" format="tabular" label="${tool.name} on ${on_string}"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
27 </outputs> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
28 <tests> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
29 <!--Test 01 with pair file as input and default parameters--> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
30 <test expect_num_outputs="1"> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
31 <param name="input_file" value="output_parsed_pairs_sam.pairs"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
32 <param name="merge" value="false"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
33 <param name="with_chromsizes" value="false"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
34 <param name="yaml" value="false"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
35 <output name="pairs_output" ftype="tabular" file="pairs_output.stats"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
36 </test> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
37 <!--Test 02 with multipe input pair files as input and default parameters--> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
38 <test expect_num_outputs="1"> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
39 <param name="input_file" value="pairs_output.stats,pairs_output2.stats"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
40 <param name="merge" value="true"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
41 <param name="with_chromsizes" value="false"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
42 <param name="yaml" value="false"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
43 <output name="pairs_output" ftype="tabular" file="pairs_output_merged.stats" lines_diff="40"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
44 </test> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
45 <!--Test 03 with pair files as input with additional chromsizes in output--> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
46 <test expect_num_outputs="1"> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
47 <param name="input_file" value="output_parsed_pairs_sam.pairs"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
48 <param name="merge" value="false"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
49 <param name="with_chromsizes" value="true"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
50 <param name="yaml" value="false"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
51 <output name="pairs_output" ftype="tabular" file="pairs_output_with_chromsize.stats"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
52 </test> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
53 <!--Test 04 with pair files as input and yaml output format--> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
54 <test expect_num_outputs="1"> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
55 <param name="input_file" value="output_parsed_pairs_sam.pairs"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
56 <param name="merge" value="false"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
57 <param name="with_chromsizes" value="false"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
58 <param name="yaml" value="true"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
59 <output name="pairs_output" ftype="tabular" file="pairs_output_yaml.stats"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
60 </test> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
61 </tests> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
62 <help><![CDATA[ |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
63 |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
64 Calculate pairs statistics. |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
65 |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
66 By default, uses 4dn pairs or 4dn pairsam file to calculate statistics. |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
67 |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
68 ]]></help> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
69 <expand macro="citations"/> |
3c87fa1a3b50
planemo upload for repository https://github.com/open2c/pairtools commit 01e7e0814f8bb4253a92ee4541b555e9af74fb0a
iuc
parents:
diff
changeset
|
70 </tool> |