Mercurial > repos > iuc > lexicmap
annotate lexicmap-index.xml @ 4:feedc23590ad draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit eceb4b3a69c5a755feac55801e85eb914a669042
| author | iuc |
|---|---|
| date | Thu, 20 Nov 2025 19:38:51 +0000 |
| parents | d4134260b442 |
| children |
| rev | line source |
|---|---|
|
0
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
1 <tool id="lexicmap_index" name="LexicMap Index" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE_VERSION@"> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
2 <description>Builds LexicMap index</description> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
3 <macros> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
5 </macros> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
6 <expand macro="bio_tools"/> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
8 |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
10 |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
11 echo '$input_genomes' | sed 's/,/\n/g' > fasta_list.tsv && |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
12 mkdir '$lexicmap_index.extra_files_path' && |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
13 lexicmap index |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
14 |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
15 --threads "\${GALAXY_SLOTS:-1}" |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
16 |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
17 -X ./fasta_list.tsv -O '$lexicmap_index.extra_files_path' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
18 --big-genomes '$lexicmap_big_genomes' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
19 --batch-size '$batch_size' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
20 --contig-interval '$contig_interval' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
21 --kmer '$kmer' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
22 --masks '$masks' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
23 --max-genome '$max_genome' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
24 --min-seq-len '$min_seq_len' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
25 --rand-seed '$rand_seed' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
26 --seed-in-desert-dist '$seed_in_desert_dist' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
27 --seed-max-desert '$seed_max_desert' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
28 #if $mask_file |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
29 --mask-file '$mask_file' |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
30 #end if |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
31 |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
32 ]]></command> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
33 <inputs> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
34 <param argument="--input-genomes" format="@FASTA_TYPES@" type="data" optional="false" multiple="true" label="FASTA files" help="Should be of datatype "fasta.gz" or "fasta"" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
35 <section name="advanced_settings" title="Advanced settings" expanded="false"> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
36 <param argument="--batch-size" value="5000" max="131072" type="integer" label="Batch Size" help="Maximum number of genomes in each batch (maximum value: 131072)" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
37 <param argument="--contig-interval" min="1000" value="1000" type="integer" label="Contig interval" help="Length of interval (N's) between contigs in a genome. It can't betoo small (>1000) or some alignments might be fragmented" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
38 <param argument="--kmer" value="31" type="integer" min="2" max="32" label="Max k-mer size" help="Maximum k-mer size. K needs to be >= 32." /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
39 <param argument="--mask-file" format="txt" type="data" optional="true" label="Mask file" help="File of custom masks. This flag oversides -k/--kmer, -m/--masks, -s/--rand-seed etc." /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
40 <param argument="--masks" min="1" value="20000" type="integer" label="LexicHash masks" help="Number of LexicHash masks." /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
41 <param argument="--max-genome" value="15000000" max="268435456" type="integer" label="Max genome size" help="Maximum genome size. Genomes with any single contig larger than the threshold will be skipped, while fragmented (with many contigs) genomes larger than the threshold will be split into chunks and alignments from these chunks will be merged in "lexicmap search". The value needs to be smaller than the maximum supported genome size: 268435456." /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
42 <param argument="--min-seq-len" value="-1" type="integer" label="Max sequence length" help="Maximum sequence length to index. The value would be equal to the kmer parameter value for values >= 0." /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
43 <param argument="--rand-seed" value="1" type="integer" label="Rand seed" help="Rand seed for generating random masks." /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
44 <param argument="--seed-in-desert-dist" value="50" type="integer" label="Seed in desert dist" help="Distance of k-mers to fill deserts." /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
45 <param argument="--seed-max-desert" value="100" type="integer" label="Seed max desert" help="Maximum length of sketching deserts, or maximum seed distance. Deserts with seed distance larger than this value will be filled by choosing k-mers roughly every --seed-in-desert-dist bases." /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
46 </section> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
47 </inputs> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
48 <outputs> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
49 <data name="lexicmap_index" format="lexicmap_index" label="index data" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
50 <data name="lexicmap_big_genomes" format="tsv" label="out file with metrics about skipped genomes" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
51 </outputs> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
52 <tests> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
53 <test expect_num_outputs="2"> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
54 <param name="input_genomes" value="genomes/GCF_001502155.1_ViralProj307776_genomic.fna.gz,genomes/GCF_001502175.1_ViralProj307780_genomic.fna.gz" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
55 <section name="advanced_settings"> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
56 <param name="max_genome" value="10000" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
57 </section> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
58 <output name="lexicmap_index" ftype="lexicmap_index"> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
59 <extra_files name="genomes.chunks.bin" value="db.lmi/genomes.chunks.bin" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
60 <extra_files name="info.toml" value="db.lmi/info.toml" lines_diff="2"/> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
61 <extra_files name="masks.bin" value="db.lmi/masks.bin" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
62 <extra_files name="genomes.map.bin"> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
63 <assert_contents> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
64 <has_size value="54" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
65 </assert_contents> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
66 </extra_files> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
67 <expand macro="genomes_batch" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
68 <expand macro="seeds" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
69 </output> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
70 <output name="lexicmap_big_genomes" ftype="tsv" file="lexicmap_big_genomes.tsv" compare="re_match" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
71 </test> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
72 </tests> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
73 <help><![CDATA[ |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
74 |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
75 Search sequences against an LexicMap index Database. For more information about settings |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
76 please visit: https://bioinf.shenwei.me/LexicMap/usage/index/ |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
77 |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
78 @info@ |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
79 ]]></help> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
80 <expand macro="citations" /> |
|
d4134260b442
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
81 </tool> |
