annotate hicstuff_pipeline.xml @ 1:6956f0783d77 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
author iuc
date Fri, 04 Oct 2024 08:48:01 +0000
parents 1efd17d2bfdb
children 7beecdd0976f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
1 <tool id="hicstuff_pipeline" name="hicstuff full pipeline" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
2 <description>generates a Hi-C contact matrix</description>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
3 <macros>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
4 <import>macros.xml</import>
1
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
5 <token name="@VERSION_SUFFIX@">1</token>
0
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
6 </macros>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
7 <expand macro="requirements" />
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
9 hicstuff pipeline
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
10 --genome '$genome'
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
11 --outdir results
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
12 --aligner $aligner
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
13 $circular
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
14 $duplicates
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
15 --enzyme '$enzyme'
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
16 $filter
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
17 --mapping $mapping
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
18 --matfmt $matfmt
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
19 --quality-min $quality_min
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
20 --size $size
1
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
21 --threads "\${GALAXY_SLOTS:-1}"
0
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
22 #if $paired_cond.paired_select == "paired"
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
23 '$paired_cond.reads.forward'
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
24 '$paired_cond.reads.reverse'
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
25 #else
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
26 '$forward_reads'
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
27 '$reverse_reads'
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
28 #end if
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
29 ]]></command>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
30 <inputs>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
31 <param type="data" name="genome" format="fasta,fasta.gz" label="Genome fasta file"/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
32 <conditional name="paired_cond">
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
33 <param name="paired_select" type="select" label="Paired reads">
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
34 <option value="paired">In a dataset pair</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
35 <option value="separate">In two separate datasets</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
36 </param>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
37 <when value="paired">
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
38 <param name="reads" type="data_collection" collection_type="paired" format="fastqsanger,fastqsanger.gz" label="Paired reads"/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
39 </when>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
40 <when value="separate">
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
41 <param name="forward_reads" type="data" format="fastqsanger,fastqsanger.gz" label="Forward reads"/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
42 <param name="reverse_reads" type="data" format="fastqsanger,fastqsanger.gz" label="Reverse reads"/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
43 </when>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
44 </conditional>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
45 <param argument="--aligner" type="select" label="Alignment software to use" help="Minimap2 should only be used for reads > 100 bp">
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
46 <option value="bowtie2" selected="true">bowtie2</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
47 <option value="minimap2">minimap2</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
48 <option value="bwa">bwa</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
49 </param>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
50 <param argument="--circular" type="boolean" truevalue="--circular" falsevalue="" label="Circular genome"/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
51 <param argument="--duplicates" type="boolean" truevalue="--duplicates" falsevalue="" label="Removes PCR duplicates" help="PCR duplicates are defined as sets of pairs having identical mapping positions for both reads."/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
52 <param argument="--enzyme" type="text" value="5000" label="Bin size or enzyme" help="Restriction enzyme or 'mnase' if a string, or chunk size (i.e. resolution) if a number. Can also be multiple comma-separated enzymes."/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
53 <param argument="--filter" type="boolean" truevalue="--filter" falsevalue="" label="Filters out spurious 3C events, such as self religations or undigested fragments" help="This is only really useful at very fine resolutions (1-2kb) and not needed most of the time. This option is only meaningful when --enzyme is given a restriction enzyme and not a bin size."/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
54 <param argument="--mapping" type="select" label="Parameter of mapping" help="'normal': Directly map reads without any process. 'iterative': Map reads iteratively using iteralign, by truncating reads to 20bp and then repeatedly extending to align them. 'cutsite': Cut reads at the religation sites of the given enzyme using cutsite, create new pairs of reads and then align them ; enzyme is required">
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
55 <option value="normal" selected="true">normal</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
56 <option value="iterative">iterative</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
57 <option value="cutsite">cutsite</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
58 </param>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
59 <param argument="--matfmt" type="select" label="Format of the output sparse matrix" help="Available formats are bg2 (bedgraph2d), graal (graal-compatible plain text COO format) and cool, a binary format that is probably the most appropriate for large genomes.">
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
60 <option value="bg2">bg2</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
61 <option value="cool">cool</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
62 <option value="graal" selected="true">graal</option>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
63 </param>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
64 <param argument="--quality-min" type="integer" value="30" label="Minimum mapping quality for selecting contacts"/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
65 <param argument="--size" type="integer" value="0" label="Minimum size threshold to consider contigs. Keep all contigs by default."/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
66 </inputs>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
67 <outputs>
1
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
68 <data name="abs_fragments_contacts_weighted_graal" from_work_dir="./results/abs_fragments_contacts_weighted.txt" format="tabular" label="${tool.name} on ${on_string}: Contact matrix (graal)">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
69 <filter>matfmt == "graal"</filter>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
70 </data>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
71 <data name="abs_fragments_contacts_weighted_bg2" from_work_dir="./results/abs_fragments_contacts_weighted.bg2" format="tabular" label="${tool.name} on ${on_string}: Contact matrix (bg2)">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
72 <filter>matfmt == "bg2"</filter>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
73 </data>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
74 <data name="abs_fragments_contacts_weighted_cool" from_work_dir="./results/abs_fragments_contacts_weighted.cool" format="cool" label="${tool.name} on ${on_string}: Contact matrix (cool)">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
75 <filter>matfmt == "cool"</filter>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
76 </data>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
77 <data name="fragments_list" from_work_dir="./results/fragments_list.txt" format="tabular" label="${tool.name} on ${on_string}: Fragment list"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
78 <data name="info_contigs" from_work_dir="./results/info_contigs.txt" format="tabular" label="${tool.name} on ${on_string}: Contig info"/>
0
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
79 </outputs>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
80 <tests>
1
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
81 <test expect_num_outputs="3">
0
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
82 <param name="genome" value="seq.fa.gz" />
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
83 <param name="paired_cond|paired_select" value="separate"/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
84 <param name="paired_cond|forward_reads" value="sample.reads_for.fastq.gz" />
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
85 <param name="paired_cond|reverse_reads" value="sample.reads_rev.fastq.gz" />
1
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
86 <output name="abs_fragments_contacts_weighted_graal">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
87 <assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
88 <has_n_lines n="77"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
89 <has_n_columns n="3"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
90 </assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
91 </output>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
92 <output name="fragments_list">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
93 <assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
94 <has_n_lines n="17"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
95 <has_n_columns n="6"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
96 </assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
97 </output>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
98 <output name="info_contigs" file="info_contigs.txt"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
99 <assert_stderr>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
100 <has_text text="Contact map generated" />
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
101 </assert_stderr>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
102 </test>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
103 <!-- bg2 format -->
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
104 <test expect_num_outputs="3">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
105 <param name="genome" value="seq.fa.gz" />
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
106 <param name="paired_cond|paired_select" value="separate"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
107 <param name="paired_cond|forward_reads" value="sample.reads_for.fastq.gz" />
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
108 <param name="paired_cond|reverse_reads" value="sample.reads_rev.fastq.gz" />
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
109 <param name="matfmt" value="bg2"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
110 <output name="abs_fragments_contacts_weighted_bg2">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
111 <assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
112 <has_n_lines n="76"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
113 <has_n_columns n="7"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
114 </assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
115 </output>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
116 <output name="fragments_list">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
117 <assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
118 <has_n_lines n="17"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
119 <has_n_columns n="6"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
120 </assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
121 </output>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
122 <output name="info_contigs" file="info_contigs.txt"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
123 <assert_stderr>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
124 <has_text text="Contact map generated" />
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
125 </assert_stderr>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
126 </test>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
127 <!-- cool format -->
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
128 <test expect_num_outputs="3">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
129 <param name="genome" value="seq.fa.gz" />
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
130 <param name="paired_cond|paired_select" value="separate"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
131 <param name="paired_cond|forward_reads" value="sample.reads_for.fastq.gz" />
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
132 <param name="paired_cond|reverse_reads" value="sample.reads_rev.fastq.gz" />
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
133 <param name="matfmt" value="cool"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
134 <output name="abs_fragments_contacts_weighted_cool">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
135 <assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
136 <has_h5_keys keys="bins,chroms,indexes,pixels"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
137 </assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
138 </output>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
139 <output name="fragments_list">
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
140 <assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
141 <has_n_lines n="17"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
142 <has_n_columns n="6"/>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
143 </assert_contents>
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
144 </output>
0
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
145 <output name="info_contigs" file="info_contigs.txt"/>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
146 <assert_stderr>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
147 <has_text text="Contact map generated" />
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
148 </assert_stderr>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
149 </test>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
150 </tests>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
151 <help><![CDATA[
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
152
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
153 hicstuff is a toolkit to generate and manipulate Hi-C matrices.
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
154
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
155 The "hicstuff full pipeline" tool generates a Hi-C contact matrix.
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
156 Output files can be used with instaGRAAL downstream.
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
157
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
158 -----------
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
159 Input files
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
160 -----------
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
161 * the fasta genome file
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
162 * forward reads
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
163 * reverse reads
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
164
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
165 ------------
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
166 Output files
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
167 ------------
1
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
168 * Contact matrix: Sparse matrix file with 3 columns the rows, column and values of nonzero pixels. The first row contains the shape and total number of nonzero pixels in the matrix.
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
169 * Fragment ist: Contains genomic coordinates of the matrix bins (row/columns).
6956f0783d77 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit c1b3c8d3e6a2f18ae89918e89d8dc8a3a0a6d24c
iuc
parents: 0
diff changeset
170 * Contig info.txt: Contains chromosome names, theirs length and number of bins.
0
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
171
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
172 ]]></help>
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
173 <expand macro="citations" />
1efd17d2bfdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicstuff commit 021a99a3416955cd6906e95245da604fda92b255
iuc
parents:
diff changeset
174 </tool>