annotate hapmaker.xml @ 3:fe77aa22ae94 draft default tip

planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
author iuc
date Wed, 05 Mar 2025 19:07:16 +0000
parents 87a0eb97d160
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
1 <tool id="merquryfk_hapmaker" name="MerquryFK HAPmaker" version="@VERSION@+galaxy@VERSION_SUFFIX@" profile="24.2">
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
2 <description>Generates hap-mer tables from FastK k-mer data of maternal, paternal, and child sequences</description>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
3 <macros>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
4 <import>macros.xml</import>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
5 </macros>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
8 mkdir -p input_files
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
9 && mkdir -p hapmaker_ktabs
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
10 && ln -s '$maternal_ktab_tar' maternal.tar
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
11 && tar -xf maternal.tar
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
12 && mv ktabfiles ktabfiles_maternal
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
13 && mv ktabfiles_maternal/output.ktab input_files/maternal.ktab
3
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
14 && mv ktabfiles_maternal/.*.ktab* input_files/.maternal.ktab.1
0
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
15 && ln -s '$paternal_ktab_tar' paternal.tar
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
16 && tar -xf paternal.tar
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
17 && mv ktabfiles ktabfiles_paternal
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
18 && mv ktabfiles_paternal/output.ktab input_files/paternal.ktab
3
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
19 && mv ktabfiles_paternal/.*.ktab* input_files/.paternal.ktab.1
0
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
20 && ln -s '$child_ktab_tar' child.tar
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
21 && tar -xf child.tar
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
22 && mv ktabfiles ktabfiles_child
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
23 && mv ktabfiles_child/output.ktab input_files/child.ktab
3
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
24 && mv ktabfiles_child/.*.ktab* input_files/.child.ktab.1
0
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
25 && HAPmaker -v
3
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
26 -T\${GALAXY_SLOTS:-1}
0
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
27 input_files/maternal.ktab
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
28 input_files/paternal.ktab
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
29 input_files/child.ktab
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
30 && mv input_files/.*.hap* hapmaker_ktabs
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
31 && tar -czvf HapK_ktab_files.tar.gz hapmaker_ktabs
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
32 ]]></command>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
33 <inputs>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
34 <param name="maternal_ktab_tar" type="data" format="fastk_ktab_tar" label="Select the TAR file consisting of maternal ktab file from FastK"/>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
35 <param name="paternal_ktab_tar" type="data" format="fastk_ktab_tar" label="Select the TAR file consisting of paternal ktab file from FastK"/>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
36 <param name="child_ktab_tar" type="data" format="fastk_ktab_tar" label="Select the TAR file consisting of child ktab file from FastK"/>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
37 </inputs>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
38 <outputs>
3
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
39 <data name="paternal_out" format="fastk_ktab" from_work_dir="input_files/paternal.hap.ktab" label="${tool.name} on ${on_string}: paternal hap-mers"/>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
40 <data name="maternal_out" format="fastk_ktab" from_work_dir="input_files/maternal.hap.ktab" label="${tool.name} on ${on_string}: maternal hap-mers"/>
0
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
41 <data name="intermediate_ktab" format="fastk_ktab_tar" from_work_dir="HapK_ktab_files.tar.gz" label="${tool.name} on ${on_string}: HapMaker Intermediate Ktab files"/>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
42 </outputs>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
43 <tests>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
44 <test expect_num_outputs="3">
3
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
45 <param name="maternal_ktab_tar" ftype="fastk_ktab_tar" location="https://zenodo.org/records/14965629/files/maternal.fastk_ktab_tar"/>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
46 <param name="paternal_ktab_tar" ftype="fastk_ktab_tar" location="https://zenodo.org/records/14965629/files/paternal.fastk_ktab_tar"/>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
47 <param name="child_ktab_tar" ftype="fastk_ktab_tar" location="https://zenodo.org/records/14965629/files/child.fastk_ktab_tar"/>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
48 <output name="paternal_out" ftype="fastk_ktab">
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
49 <assert_contents>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
50 <has_size value="524304" delta="2000"/>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
51 </assert_contents>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
52 </output>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
53 <output name="maternal_out" ftype="fastk_ktab">
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
54 <assert_contents>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
55 <has_size value="524304" delta="2000"/>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
56 </assert_contents>
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
57 </output>
0
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
58 <output name="intermediate_ktab" ftype="fastk_ktab_tar">
3
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
59 <assert_contents>
0
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
60 <has_archive_member path="hapmaker_ktabs/.maternal.hap.ktab.1"/>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
61 <has_archive_member path="hapmaker_ktabs/.paternal.hap.ktab.1"/>
3
fe77aa22ae94 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit f02f3754424a68a1463fa75e9523d49e60d68373
iuc
parents: 0
diff changeset
62 </assert_contents>
0
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
63 </output>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
64 </test>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
65 </tests>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
66 <help><![CDATA[
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
67 HAPmaker generates hap-mer tables for parental datasets for merquryfk pipeline. Before running HAPplot or MerquryFK in trio mode, it is necessary to generate a table of hap-mers
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
68 for both the mother and father, using FastK k-mer tables from the maternal, paternal, and child sequence data sets.
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
69 The output of this process produces two k-mer tables: <mat>.hap.ktab for the maternal hap-mers and <pat>.hap.ktab for the paternal hap-mers.
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
70 ]]></help>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
71 <expand macro="citation"/>
87a0eb97d160 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
72 </tool>