annotate fastk.xml @ 1:b820ef95ca20 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
author iuc
date Tue, 14 May 2024 12:47:29 +0000
parents ff827f983bbb
children 87f4b4dced3e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
1 <tool id="fastk_fastk" name="FastK" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.2">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
2 <description>A k-mer counter for high-quality assembly datasets</description>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
3 <macros>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
4 <import>macros.xml</import>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
5 </macros>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
6 <expand macro="requirements" />
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
8 mkdir -p outfiles/ktabfiles &&
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
9 #if $infile.is_of_type("fastq"):
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
10 #set INPUTFILE="input.fastq"
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
11 #elif $infile.is_of_type("fastq.gz"):
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
12 #set INPUTFILE="input.fastq.gz"
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
13 #else
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
14 #set INPUTFILE="input."+$infile.ext
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
15 #end if
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
16 ln -s '$infile' $INPUTFILE &&
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
17 FastK $INPUTFILE
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
18 -k$kmer_size
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
19 #if $sorted_table.sorted_table_option == 'yes_with_default':
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
20 -t
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
21 #elif $sorted_table.sorted_table_option == 'yes_with_custom':
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
22 -t$sorted_table_cutoff
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
23 #end if
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
24 -T\${GALAXY_SLOTS:-8} -Noutfiles/output -Poutfiles/ktabfiles
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
25 #if $sorted_table.sorted_table_option == 'yes_with_default':
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
26 && Tabex outfiles/output.ktab -t${sorted_table.tabex_threshold_for_default} LIST > '$tabex_hist'
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
27 && mv outfiles/.*.ktab* outfiles/ktabfiles
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
28 && mv outfiles/*.ktab outfiles/ktabfiles
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
29 #elif $sorted_table.sorted_table_option == 'yes_with_custom':
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
30 && Tabex outfiles/output.ktab -t${sorted_table.tabex_threshold_for_custom} LIST > '$tabex_hist'
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
31 && mv outfiles/.*.ktab* outfiles/ktabfiles
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
32 && mv outfiles/*.ktab outfiles/ktabfiles
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
33 #end if
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
34 && tar -c -f fastk.tar ./outfiles/
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
35 ]]></command>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
36 <inputs>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
37 <param name="infile" type="data" format="fasta,fasta.gz,fastq,fastq.gz,cram,unsorted.bam,sam" label="Input file"/>
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
38 <param name="kmer_size" argument="-k" type="integer" min="5" max="50" value="40" label="Enter desired k-mer size" help="Default: 40"/>
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
39 <conditional name="sorted_table">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
40 <param name="sorted_table_option" type="select" label="Sort table" help="Do you want a sorted table of all canonical k-mers and their counts? The sorted table is sorted lexicographically on the k-mer where a &lt; c &lt; g &lt; t.">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
41 <option value="no">No</option>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
42 <option value="yes_with_default">Yes, Default sorted </option>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
43 <option value="yes_with_custom">Yes, Custom sorted </option>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
44 </param>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
45 <when value="no"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
46 <when value="yes_with_default">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
47 <param name="tabex_threshold_for_default" argument="-t" type="integer" value="5" min="1" label="Tabex count threshold" help="Trim all k-mers with counts less than threshold"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
48 </when>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
49 <when value="yes_with_custom">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
50 <param name="sorted_table_cutoff" type="integer" min="2" value="10" label="Enter sorted table cutoff value"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
51 <param name="tabex_threshold_for_custom" argument="-t" type="integer" value="5" min="1" label="Tabex count threshold" help="Trim all k-mers with counts less than threshold"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
52 </when>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
53 </conditional>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
54 </inputs>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
55 <outputs>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
56 <data name="fastk_out" format="tar" from_work_dir="fastk.tar" label="${tool.name} on ${on_string}: FastK files"/>
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
57 <data name="fastk_hist_out" format="fastk_hist" from_work_dir="outfiles/output.hist" label="${tool.name} on ${on_string}: FastK hist"/>
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
58 <data name="fastk_ktab_out" format="fastk_ktab" from_work_dir="outfiles/ktabfiles/output.ktab" label="${tool.name} on ${on_string}: FastK ktab">
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
59 <filter> sorted_table['sorted_table_option'] != 'no' </filter>
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
60 </data>
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
61 <data name="tabex_hist" format="txt" label="${tool.name} on ${on_string}: Tabex output">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
62 <filter> sorted_table['sorted_table_option'] != 'no' </filter>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
63 </data>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
64 </outputs>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
65 <tests>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
66 <!-- TEST 1 -->
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
67 <test expect_num_outputs="2">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
68 <param name="infile" value="input01.fasta.gz"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
69 <output name="fastk_out" ftype="tar">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
70 <assert_contents>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
71 <has_archive_member path="./outfiles/output.hist"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
72 </assert_contents>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
73 </output>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
74 </test>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
75 <!-- TEST 2 -->
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
76 <test expect_num_outputs="4">
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
77 <param name="infile" value="input01.fasta.gz"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
78 <conditional name="sorted_table">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
79 <param name="sorted_table_option" value="yes_with_default"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
80 </conditional>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
81 <output name="fastk_out" ftype="tar">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
82 <assert_contents>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
83 <has_archive_member path="./outfiles/output.hist"/>
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
84 <has_archive_member path="./outfiles/ktabfiles/output.ktab"/>
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
85 </assert_contents>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
86 </output>
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
87 <output name="tabex_hist" file="test02.tabex.txt"/>
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
88 </test>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
89 <!-- TEST 3 -->
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
90 <test expect_num_outputs="4">
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
91 <param name="infile" value="input01.fasta.gz"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
92 <conditional name="sorted_table">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
93 <param name="sorted_table_option" value="yes_with_custom"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
94 <param name="sorted_table_cutoff" value="5"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
95 </conditional>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
96 <output name="fastk_out" ftype="tar">
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
97 <assert_contents>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
98 <has_archive_member path="./outfiles/output.hist"/>
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
99 <has_archive_member path="./outfiles/ktabfiles/output.ktab"/>
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
100 </assert_contents>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
101 </output>
1
b820ef95ca20 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit dbdc7c7b584e6fc578845aaf30bc0498353716f7
iuc
parents: 0
diff changeset
102 <output name="tabex_hist" file="test03.tabex.txt"/>
0
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
103 </test>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
104 </tests>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
105 <help><![CDATA[
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
106 FastK is a k‑mer counter that is optimized for processing high quality DNA assembly data sets such as those produced with an Illumina instrument or a PacBio run in HiFi mode.
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
107
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
108 The input data can be in CRAM, BAM, SAM, fasta, or fastq files.
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
109
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
110 FastK produces the following outputs:
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
111
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
112 1. FastK hist: file in binary format containing histogram information detailing the frequency of occurrence for each k‑mer within the dataset.
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
113
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
114 2. A Tabex txt file comprising a table of k‑mer/count pairs, sorted lexicographically on the k‑mer sequence, followingthe order a < c < g < t
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
115
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
116 3. A tar file comprising of hidden .ktab files that can be used for downstream FASTK tools.
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
117
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
118
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
119 ]]></help>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
120 <expand macro="citations"/>
ff827f983bbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit 57fa4dcee2aaa115df4a5b7173a3a8fb889bc5a3
iuc
parents:
diff changeset
121 </tool>