annotate hapmaker.xml @ 0:5eb60882a2a8 draft

planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
author iuc
date Wed, 19 Feb 2025 11:21:31 +0000
parents
children 3ec2cd53b675
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5eb60882a2a8 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">
5eb60882a2a8 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>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
3 <macros>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
4 <import>macros.xml</import>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
5 </macros>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
8 mkdir -p input_files
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
9 && mkdir -p hapmaker_ktabs
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
10 && ln -s '$maternal_ktab_tar' maternal.tar
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
11 && tar -xf maternal.tar
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
12 && mv ktabfiles ktabfiles_maternal
5eb60882a2a8 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
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
14 && mv "\$(find ktabfiles_maternal -type f -name '*.ktab.1')" "input_files/.maternal.ktab.1"
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
15 && ln -s '$paternal_ktab_tar' paternal.tar
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
16 && tar -xf paternal.tar
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
17 && mv ktabfiles ktabfiles_paternal
5eb60882a2a8 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
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
19 && mv "\$(find ktabfiles_paternal -type f -name '*.ktab.1')" "input_files/.paternal.ktab.1"
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
20 && ln -s '$child_ktab_tar' child.tar
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
21 && tar -xf child.tar
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
22 && mv ktabfiles ktabfiles_child
5eb60882a2a8 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
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
24 && mv "\$(find ktabfiles_child -type f -name '*.ktab.1')" "input_files/.child.ktab.1"
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
25 && HAPmaker -v
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
26 -T\${GALAXY_SLOTS:-4}
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
27 input_files/maternal.ktab
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
28 input_files/paternal.ktab
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
29 input_files/child.ktab
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
30 && mv input_files/.*.hap* hapmaker_ktabs
5eb60882a2a8 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
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
32 ]]></command>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
33 <inputs>
5eb60882a2a8 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"/>
5eb60882a2a8 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"/>
5eb60882a2a8 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"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
37 </inputs>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
38 <outputs>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
39 <data name="paternal_out" format="fastk_ktab" from_work_dir="paternal.hap.ktab" label="${tool.name} on ${on_string}: paternal hap-mers"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
40 <data name="maternal_out" format="fastk_ktab" from_work_dir="maternal.hap.ktab" label="${tool.name} on ${on_string}: maternal hap-mers"/>
5eb60882a2a8 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"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
42 </outputs>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
43 <tests>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
44 <test expect_num_outputs="3">
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
45 <param name="maternal_ktab_tar" ftype="fastk_ktab_tar" value="maternal.tar"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
46 <param name="paternal_ktab_tar" ftype="fastk_ktab_tar" value="paternal.tar"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
47 <param name="child_ktab_tar" ftype="fastk_ktab_tar" value="child.tar"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
48 <output name="paternal_out" value="paternal.hap.ktab"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
49 <output name="maternal_out" value="maternal.hap.ktab"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
50 <output name="intermediate_ktab" ftype="fastk_ktab_tar">
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
51 <assert_contents>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
52 <has_archive_member path="hapmaker_ktabs/.maternal.hap.ktab.1"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
53 <has_archive_member path="hapmaker_ktabs/.paternal.hap.ktab.1"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
54 </assert_contents>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
55 </output>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
56 </test>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
57 </tests>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
58 <help><![CDATA[
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
59 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
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
60 for both the mother and father, using FastK k-mer tables from the maternal, paternal, and child sequence data sets.
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
61 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.
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
62 ]]></help>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
63 <expand macro="citation"/>
5eb60882a2a8 planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit 5c9fd72ef5aa8b8694cdba75d1e54fbe4cda5d9d
iuc
parents:
diff changeset
64 </tool>