annotate telogator.xml @ 0:afcb889cbce3 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
author iuc
date Thu, 04 Dec 2025 17:09:38 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
1 <tool id="telogator" name="Telogator" version="@VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
2 <description>Measure allele-specific telomere length from long reads</description>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
3 <macros>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
4 <import>macros.xml</import>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
5 </macros>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
6 <expand macro="edam_ontology"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
7 <expand macro="xrefs"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
8 <expand macro="requirements"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
9 <expand macro="version_command"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
11 #import re
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
12
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
13 ## Create output directory
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
14 mkdir -p output_dir &&
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
15
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
16 ## Link input files with proper extensions since it's used to
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
17 ## define input types in telogator
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
18 #set $input_files = []
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
19 #for $idx, $input_file in enumerate($input_reads)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
20 #set $identifier = str($input_file.element_identifier)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
21 #set $safe_name = re.sub('[^\w\-\.]', '_', $identifier)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
22 ## Add extension only if filename doesn't already have appropriate extension
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
23 #if $input_file.is_of_type('fasta.gz') and not ($safe_name.endswith('.fa.gz') or $safe_name.endswith('.fasta.gz'))
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
24 #set $safe_name = $safe_name + '.fa.gz'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
25 #elif $input_file.is_of_type('fasta') and not ($safe_name.endswith('.fa') or $safe_name.endswith('.fasta'))
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
26 #set $safe_name = $safe_name + '.fa'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
27 #elif $input_file.is_of_type('fastqsanger.gz', 'fastq.gz') and not ($safe_name.endswith('.fq.gz') or $safe_name.endswith('.fastq.gz'))
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
28 #set $safe_name = $safe_name + '.fq.gz'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
29 #elif $input_file.is_of_type('fastqsanger', 'fastq') and not ($safe_name.endswith('.fq') or $safe_name.endswith('.fastq'))
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
30 #set $safe_name = $safe_name + '.fq'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
31 #elif $input_file.is_of_type('bam') and not $safe_name.endswith('.bam')
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
32 #set $safe_name = $safe_name + '.bam'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
33 #elif $input_file.is_of_type('cram') and not $safe_name.endswith('.cram')
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
34 #set $safe_name = $safe_name + '.cram'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
35 #end if
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
36 ln -sf '${input_file}' '${safe_name}' &&
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
37 #silent $input_files.append($safe_name)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
38 #end for
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
39
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
40 ## Run telogator
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
41 telogator2
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
42 -i #echo ' '.join($input_files)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
43 -o output_dir
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
44 -r '${read_type}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
45 -p "\${GALAXY_SLOTS:-1}"
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
46
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
47 ## Basic parameters
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
48 -l '${basic_params.min_read_length}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
49 -c '${basic_params.min_canonical_hits}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
50 -n '${basic_params.min_reads_cluster}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
51 -m '${basic_params.atl_method}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
52 #if str($basic_params.downsample) != ''
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
53 -d '${basic_params.downsample}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
54 #end if
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
55 #if str($basic_params.random_seed) != ''
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
56 --rng '${basic_params.random_seed}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
57 #end if
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
58
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
59 ## Reference files
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
60 #if $reference_opts.custom_reference
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
61 -t '${reference_opts.custom_reference}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
62 #end if
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
63 #if $reference_opts.kmer_file
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
64 -k '${reference_opts.kmer_file}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
65 #end if
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
66
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
67 ## Aligner selection
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
68 #if $aligner.aligner_choice == 'minimap2'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
69 --minimap2 minimap2
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
70 #elif $aligner.aligner_choice == 'winnowmap'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
71 --winnowmap winnowmap
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
72 #if $aligner.winnowmap_k15
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
73 --winnowmap-k15 '${aligner.winnowmap_k15}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
74 #end if
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
75 #elif $aligner.aligner_choice == 'pbmm2'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
76 --pbmm2 pbmm2
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
77 #end if
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
78
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
79 ## Advanced filtering
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
80 --filt-tel '${advanced.filtering.filt_tel}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
81 --filt-nontel '${advanced.filtering.filt_nontel}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
82 --filt-sub '${advanced.filtering.filt_sub}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
83 --collapse-hom '${advanced.filtering.collapse_hom}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
84
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
85 ${advanced.filtering.fast_aln}
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
86
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
87 ## Hierarchical clustering parameters
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
88 -t0 '${advanced.clustering.t0}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
89 -t1 '${advanced.clustering.t1}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
90 -t2 '${advanced.clustering.t2}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
91 -tc '${advanced.clustering.tc}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
92 -ts '${advanced.clustering.ts}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
93 -th '${advanced.clustering.th}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
94
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
95 ## Plot customization
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
96 -afa-x '${advanced.plotting.afa_x}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
97 -afa-t '${advanced.plotting.afa_t}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
98 -afa-a '${advanced.plotting.afa_a}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
99 -va-y '${advanced.plotting.va_y}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
100 -va-t '${advanced.plotting.va_t}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
101 -va-p '${advanced.plotting.va_p}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
102
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
103 ## Move outputs to expected locations
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
104 && mv output_dir/tlens_by_allele.tsv '${output_tsv}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
105 && mv output_dir/all_final_alleles.png '${output_alleles_plot}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
106 && mv output_dir/violin_atl.png '${output_violin_plot}'
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
107 ]]></command>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
108 <inputs>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
109 <param name="input_reads" type="data" format="fasta,fasta.gz,fastqsanger,fastqsanger.gz,bam" multiple="true" label="Input reads" help="Long-read sequencing data in FASTA, FASTQ or BAM format. Multiple files can be selected."/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
110
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
111 <param name="read_type" type="select" label="Read type" help="Sequencing platform type">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
112 <option value="ont">Oxford Nanopore (ONT)</option>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
113 <option value="hifi" selected="true">PacBio HiFi</option>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
114 </param>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
115
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
116 <section name="basic_params" title="Basic Parameters" expanded="true">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
117 <param name="min_read_length" argument="-l" type="integer" value="4000" min="0" label="Minimum read length" help="Minimum read length in base pairs"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
118 <param name="min_canonical_hits" argument="-c" type="integer" value="8" min="0" label="Minimum canonical kmer hits" help="Minimum hits to tandem canonical kmer"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
119 <param name="min_reads_cluster" argument="-n" type="integer" value="3" min="1" label="Minimum reads per cluster" help="Minimum number of reads required per cluster. Recommended: PacBio Revio HiFi (30x): 4, PacBio Sequel II (10x): 3, Nanopore R10 (30x): 4"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
120 <param name="atl_method" argument="-m" type="select" label="ATL calculation method" help="Method for calculating allele-specific telomere length">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
121 <option value="p75" selected="true">75th percentile (p75)</option>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
122 <option value="mean">Mean</option>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
123 <option value="median">Median</option>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
124 <option value="max">Maximum</option>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
125 </param>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
126 <param name="downsample" argument="-d" type="integer" optional="true" value="" label="Downsample telomere reads" help="Downsample to N telomere reads (optional)"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
127 <param name="random_seed" argument="--rng" type="integer" optional="true" value="" label="Random seed" help="Random seed value for reproducibility (optional)"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
128 </section>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
129
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
130 <section name="reference_opts" title="Reference Options" expanded="false">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
131 <param name="custom_reference" argument="-t" type="data" format="fasta" optional="true" label="Custom reference FASTA" help="Optional custom telogator reference FASTA file. If not provided, built-in human T2T reference will be used."/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
132 <param name="kmer_file" argument="-k" type="data" format="tsv" optional="true" label="Telomere kmers file" help="Optional telomere k-mers file. If omitted, a built-in human telomere k-mers file is used."/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
133 </section>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
134
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
135 <conditional name="aligner">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
136 <param name="aligner_choice" type="select" label="Alignment tool" help="Select which aligner to use">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
137 <option value="minimap2" selected="true">minimap2</option>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
138 <option value="winnowmap">winnowmap</option>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
139 <option value="pbmm2">pbmm2</option>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
140 </param>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
141 <when value="minimap2"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
142 <when value="winnowmap">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
143 <param argument="--winnowmap-k15" type="data" format="txt" optional="true" label="Winnowmap k15 file" help="High-frequency kmers file for winnowmap"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
144 </when>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
145 <when value="pbmm2"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
146 </conditional>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
147
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
148 <section name="advanced" title="Advanced Parameters" expanded="false">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
149 <section name="filtering" title="Filtering Thresholds" expanded="true">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
150 <param argument="--filt-tel" type="integer" value="400" min="0" label="Minimum terminating telomere" help="Minimum terminating telomere length in bp"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
151 <param argument="--filt-nontel" type="integer" value="100" min="0" label="Maximum terminating non-telomere" help="Maximum terminating non-telomere length in bp"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
152 <param argument="--filt-sub" type="integer" value="1000" min="0" label="Minimum terminating subtelomere" help="Minimum terminating subtelomere length in bp"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
153 <param argument="--collapse-hom" type="integer" value="1000" min="0" label="Collapse homologous alleles" help="Merge alleles within this distance in bp"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
154 <param argument="--fast-aln" type="boolean" truevalue="--fast-aln" falsevalue="" checked="false" label="Use fast alignment" help="Use faster but less accurate pairwise alignment"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
155 </section>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
156
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
157 <section name="clustering" title="Hierarchical Clustering (TREECUT) Parameters" expanded="false">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
158 <param argument="-t0" type="float" value="0.200" min="0" max="1" label="TVR clustering iteration 0" help="Threshold for TVR clustering in iteration 0"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
159 <param argument="-t1" type="float" value="0.150" min="0" max="1" label="TVR clustering iteration 1" help="Threshold for TVR clustering in iteration 1"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
160 <param argument="-t2" type="float" value="0.100" min="0" max="1" label="TVR clustering iteration 2" help="Threshold for TVR clustering in iteration 2"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
161 <param argument="-tc" type="float" value="0.050" min="0" max="1" label="TVR clustering collapse" help="Threshold for collapsing TVR clusters"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
162 <param argument="-ts" type="float" value="0.200" min="0" max="1" label="Subtel cluster refinement" help="Threshold for subtelomere cluster refinement"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
163 <param argument="-th" type="float" value="0.050" min="0" max="1" label="Collapsing aligned alleles" help="Threshold for collapsing aligned alleles"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
164 </section>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
165
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
166 <section name="plotting" title="Plot Customization" expanded="false">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
167 <param argument="-afa-x" type="integer" value="15000" min="0" label="All alleles plot X-axis max" help="Maximum X-axis value for all final alleles plot"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
168 <param argument="-afa-t" type="integer" value="1000" min="0" label="All alleles plot tick steps" help="Tick step size for all final alleles plot"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
169 <param argument="-afa-a" type="integer" value="100" min="0" label="Minimum ATL for plot inclusion" help="Minimum allele-specific telomere length for inclusion in all final alleles plot"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
170 <param argument="-va-y" type="integer" value="20000" min="0" label="Violin plot Y-axis max" help="Maximum Y-axis value for violin plot"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
171 <param argument="-va-t" type="integer" value="5000" min="0" label="Violin plot tick steps" help="Tick step size for violin plot"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
172 <param argument="-va-p" type="integer" value="2" min="1" label="Ploidy" help="Number of alleles per chromosome arm (ploidy)"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
173 </section>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
174 </section>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
175 </inputs>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
176 <outputs>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
177 <data name="output_tsv" format="tabular" label="${tool.name} on ${on_string}: Telomere lengths by allele"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
178 <data name="output_alleles_plot" format="png" label="${tool.name} on ${on_string}: All final alleles plot"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
179 <data name="output_violin_plot" format="png" label="${tool.name} on ${on_string}: Violin plot"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
180 </outputs>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
181 <tests>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
182 <!-- Test 1: PacBio HiFi data -->
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
183 <test expect_num_outputs="3">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
184 <param name="input_reads" value="hg002-telreads_pacbio.sub.fa.gz"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
185 <param name="read_type" value="hifi"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
186 <conditional name="aligner">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
187 <param name="aligner_choice" value="minimap2"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
188 </conditional>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
189 <output name="output_tsv">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
190 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
191 <has_text text="chr"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
192 <has_text text="position"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
193 <has_text text="allele_id"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
194 <has_text text="TL_p75"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
195 <has_n_columns n="11"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
196 <has_n_lines n="13" delta="2"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
197 <has_line_matching expression="chr\d+[pq]\t\d+.*"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
198 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
199 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
200 <output name="output_alleles_plot">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
201 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
202 <has_size min="10000" max="500000"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
203 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
204 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
205 <output name="output_violin_plot">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
206 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
207 <has_size min="10000" max="500000"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
208 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
209 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
210 </test>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
211 <!-- Test 2: Oxford Nanopore data, 2 inputs -->
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
212 <test expect_num_outputs="3">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
213 <param name="input_reads" value="hg002-ont-1p.fa.gz,hg002-ont-1p.sub.fa.gz"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
214 <param name="read_type" value="ont"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
215 <conditional name="aligner">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
216 <param name="aligner_choice" value="minimap2"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
217 </conditional>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
218 <output name="output_tsv">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
219 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
220 <has_text text="chr"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
221 <has_text text="position"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
222 <has_text text="allele_id"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
223 <has_text text="TL_p75"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
224 <has_n_columns n="11"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
225 <has_n_lines n="2" delta="10"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
226 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
227 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
228 <output name="output_alleles_plot">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
229 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
230 <has_size min="10000" max="500000"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
231 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
232 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
233 <output name="output_violin_plot">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
234 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
235 <has_size min="10000" max="500000"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
236 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
237 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
238 </test>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
239 <!-- Test 3: PacBio HiFi data, pbmm2 -->
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
240 <test expect_num_outputs="3">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
241 <param name="input_reads" value="hg002-telreads_pacbio.sub.fa.gz"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
242 <param name="read_type" value="hifi"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
243 <conditional name="aligner">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
244 <param name="aligner_choice" value="pbmm2"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
245 </conditional>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
246 <output name="output_tsv">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
247 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
248 <has_text text="chr"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
249 <has_text text="position"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
250 <has_text text="allele_id"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
251 <has_text text="TL_p75"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
252 <has_n_columns n="11"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
253 <has_n_lines n="13" delta="2"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
254 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
255 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
256 <output name="output_alleles_plot">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
257 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
258 <has_size min="10000" max="500000"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
259 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
260 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
261 <output name="output_violin_plot">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
262 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
263 <has_size min="10000" max="500000"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
264 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
265 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
266 </test>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
267 <!-- Test 4: PacBio HiFi data, winnowmap -->
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
268 <test expect_num_outputs="3">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
269 <param name="input_reads" value="hg002-telreads_pacbio.sub.fa.gz"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
270 <param name="read_type" value="hifi"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
271 <conditional name="aligner">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
272 <param name="aligner_choice" value="winnowmap"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
273 </conditional>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
274 <output name="output_tsv">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
275 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
276 <has_text text="chr"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
277 <has_text text="position"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
278 <has_text text="allele_id"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
279 <has_text text="TL_p75"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
280 <has_n_columns n="11"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
281 <has_n_lines n="13" delta="2"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
282 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
283 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
284 <output name="output_alleles_plot">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
285 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
286 <has_size min="10000" max="500000"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
287 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
288 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
289 <output name="output_violin_plot">
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
290 <assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
291 <has_size min="10000" max="500000"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
292 </assert_contents>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
293 </output>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
294 </test>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
295 </tests>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
296 <help><![CDATA[
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
297 **What it does**
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
298
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
299 Telogator2 measures allele-specific telomere length (ATL) and characterizes telomere variant repeat (TVR) sequences from long-read sequencing data (PacBio HiFi or Oxford Nanopore).
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
300
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
301 The tool performs the following analyses:
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
302
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
303 1. Extracts reads containing telomeric sequences
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
304 2. Aligns reads to reference genome to identify chromosome arms
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
305 3. Clusters reads by TVR sequences to identify individual alleles
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
306 4. Calculates allele-specific telomere lengths
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
307 5. Generates visualizations of telomere length distributions
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
308
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
309 **Inputs**
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
310
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
311 - Long-read sequencing data (FASTA, FASTQ, BAM, or CRAM format)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
312 - Optional custom reference genome and kmer files
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
313 - Platform-specific parameters (PacBio HiFi or Oxford Nanopore)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
314
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
315 **Outputs**
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
316
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
317 1. **tlens_by_allele.tsv**: Primary results table containing:
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
318
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
319 - chr: Chromosome arm (or chrU for unmapped)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
320 - position: Anchor coordinate
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
321 - ref_samp: Reference contig alignment
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
322 - allele_id: Allele identifier (suffix 'i' indicates interstitial telomeric regions)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
323 - TL_p75: Allele-specific telomere length (75th percentile by default)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
324 - read_TLs, read_lengths, read_mapq: Per-read metrics
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
325 - tvr_len, tvr_consensus: Telomere variant repeat characteristics
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
326 - supporting_reads: Read identifiers
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
327
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
328 2. **all_final_alleles.png**: Visualization of all identified alleles
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
329
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
330 3. **violin_atl.png**: Violin plot showing ATL distributions by chromosome arm
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
331
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
332 **Platform-Specific Recommendations**
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
333
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
334 - **PacBio Revio HiFi (30x coverage)**: Set minimum reads per cluster to 4
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
335 - **PacBio Sequel II (10x coverage)**: Set minimum reads per cluster to 3
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
336 - **Nanopore R10 (30x coverage)**: Set minimum reads per cluster to 4
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
337 - **Large enrichment datasets**: Increase minimum reads per cluster to 10
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
338
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
339 **Important Notes**
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
340
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
341 - For PacBio Revio data, include both "hifi" and "fail" BAM files
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
342 - Older Nanopore data (Guppy basecalled) may have high error rates in telomere regions
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
343 - Runtime improves with additional CPU cores (increase processes parameter)
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
344 - Alleles with suffix 'i' are interstitial telomeric regions and may need to be excluded from downstream analysis
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
345
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
346 ]]></help>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
347 <expand macro="citations"/>
afcb889cbce3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/telogator2 commit ff18f7a9e15883099ec1cd699533658a280dcf12
iuc
parents:
diff changeset
348 </tool>