Mercurial > repos > iuc > lexicmap
annotate lexicmap-index.xml @ 4:0004a511baff 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:27 +0000 |
| parents | 2e6641136004 |
| children |
| rev | line source |
|---|---|
|
0
2e6641136004
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@"> |
|
2e6641136004
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> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
3 <macros> |
|
2e6641136004
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> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
5 </macros> |
|
2e6641136004
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"/> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
8 |
|
2e6641136004
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[ |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
10 |
|
2e6641136004
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 && |
|
2e6641136004
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' && |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
13 lexicmap index |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
14 |
|
2e6641136004
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}" |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
16 |
|
2e6641136004
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' |
|
2e6641136004
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' |
|
2e6641136004
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' |
|
2e6641136004
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' |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
21 --kmer '$kmer' |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
22 --masks '$masks' |
|
2e6641136004
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' |
|
2e6641136004
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' |
|
2e6641136004
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' |
|
2e6641136004
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' |
|
2e6641136004
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' |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
28 #if $mask_file |
|
2e6641136004
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' |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
30 #end if |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
31 |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
32 ]]></command> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
33 <inputs> |
|
2e6641136004
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"" /> |
|
2e6641136004
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"> |
|
2e6641136004
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)" /> |
|
2e6641136004
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" /> |
|
2e6641136004
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." /> |
|
2e6641136004
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." /> |
|
2e6641136004
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." /> |
|
2e6641136004
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." /> |
|
2e6641136004
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." /> |
|
2e6641136004
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." /> |
|
2e6641136004
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." /> |
|
2e6641136004
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." /> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
46 </section> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
47 </inputs> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
48 <outputs> |
|
2e6641136004
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" /> |
|
2e6641136004
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" /> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
51 </outputs> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
52 <tests> |
|
2e6641136004
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"> |
|
2e6641136004
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" /> |
|
2e6641136004
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"> |
|
2e6641136004
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" /> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
57 </section> |
|
2e6641136004
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"> |
|
2e6641136004
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" /> |
|
2e6641136004
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"/> |
|
2e6641136004
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" /> |
|
2e6641136004
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"> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
63 <assert_contents> |
|
2e6641136004
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" /> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
65 </assert_contents> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
66 </extra_files> |
|
2e6641136004
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" /> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
68 <expand macro="seeds" /> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
69 </output> |
|
2e6641136004
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" /> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
71 </test> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
72 </tests> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
73 <help><![CDATA[ |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
74 |
|
2e6641136004
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 |
|
2e6641136004
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/ |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
77 |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
78 @info@ |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
79 ]]></help> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
80 <expand macro="citations" /> |
|
2e6641136004
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/lexicmap commit d966ed462a49d1949345717ae4fdb685c6a1450a
iuc
parents:
diff
changeset
|
81 </tool> |
