Skip to content

Commit d1eccfe

Browse files
committed
handle review comments and fix failing tests
1 parent cc172e9 commit d1eccfe

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

tools/telogator2/macros.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</xml>
3232
<xml name="citations">
3333
<citations>
34-
<citation type="doi">10.1186/s12859-024-05814-5</citation>
34+
<citation type="doi">10.1186/s12859-024-05807-5</citation>
3535
</citations>
3636
</xml>
3737
</macros>

tools/telogator2/telogator2.xml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@
8686
--filt-nontel '${advanced.filtering.filt_nontel}'
8787
--filt-sub '${advanced.filtering.filt_sub}'
8888
--collapse-hom '${advanced.filtering.collapse_hom}'
89-
#if $advanced.filtering.fast_aln
90-
--fast-aln
91-
#end if
89+
'${advanced.filtering.fast_aln}'
9290
9391
## Hierarchical clustering parameters
9492
-t0 '${advanced.clustering.t0}'
@@ -112,7 +110,7 @@
112110
&& mv output_dir/violin_atl.png '${output_violin_plot}'
113111
]]></command>
114112
<inputs>
115-
<param name="input_reads" type="data" format="fasta,fasta.gz,fastqsanger,fastqsanger.gz,fastq,fastq.gz,bam,cram" multiple="true" label="Input reads" help="Long-read sequencing data in FASTA, FASTQ, BAM, or CRAM format (gzipped supported). Multiple files can be selected."/>
113+
<param name="input_reads" type="data" format="fasta,fasta.gz,fastqsanger,fastqsanger.gz,bam,cram" multiple="true" label="Input reads" help="Long-read sequencing data in FASTA, FASTQ, BAM, or CRAM format (gzipped supported). Multiple files can be selected."/>
116114

117115
<param name="read_type" type="select" label="Read type" help="Sequencing platform type">
118116
<option value="ont">Oxford Nanopore (ONT)</option>
@@ -129,8 +127,8 @@
129127
<option value="median">Median</option>
130128
<option value="max">Maximum</option>
131129
</param>
132-
<param name="downsample" argument="-d" type="integer" optional="true" label="Downsample telomere reads" help="Downsample to N telomere reads (optional)"/>
133-
<param name="random_seed" argument="--rng" type="integer" optional="true" label="Random seed" help="Random seed value for reproducibility (optional)"/>
130+
<param name="downsample" argument="-d" type="integer" optional="true" value="" label="Downsample telomere reads" help="Downsample to N telomere reads (optional)"/>
131+
<param name="random_seed" argument="--rng" type="integer" optional="true" value="" label="Random seed" help="Random seed value for reproducibility (optional)"/>
134132
</section>
135133

136134
<section name="reference_opts" title="Reference Options" expanded="false">
@@ -159,7 +157,7 @@
159157
<param argument="--filt-nontel" type="integer" value="100" min="0" label="Maximum terminating non-telomere" help="Maximum terminating non-telomere length in bp"/>
160158
<param argument="--filt-sub" type="integer" value="1000" min="0" label="Minimum terminating subtelomere" help="Minimum terminating subtelomere length in bp"/>
161159
<param argument="--collapse-hom" type="integer" value="1000" min="0" label="Collapse homologous alleles" help="Merge alleles within this distance in bp"/>
162-
<param argument="--fast-aln" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Use fast alignment" help="Use faster but less accurate pairwise alignment"/>
160+
<param argument="--fast-aln" type="boolean" truevalue="--fast-aln" falsevalue="" checked="false" label="Use fast alignment" help="Use faster but less accurate pairwise alignment"/>
163161
</section>
164162

165163
<section name="clustering" title="Hierarchical Clustering (TREECUT) Parameters" expanded="false">
@@ -201,7 +199,7 @@
201199
<has_text text="allele_id"/>
202200
<has_text text="TL_p75"/>
203201
<has_n_columns n="11"/>
204-
<has_n_lines n="2" delta="10"/>
202+
<has_n_lines n="13" delta="2"/>
205203
<has_line_matching expression="chr\d+[pq]\t\d+.*"/>
206204
</assert_contents>
207205
</output>
@@ -258,7 +256,7 @@
258256
<has_text text="allele_id"/>
259257
<has_text text="TL_p75"/>
260258
<has_n_columns n="11"/>
261-
<has_n_lines n="2" delta="10"/>
259+
<has_n_lines n="13" delta="2"/>
262260
</assert_contents>
263261
</output>
264262
<output name="output_alleles_plot">
@@ -286,7 +284,7 @@
286284
<has_text text="allele_id"/>
287285
<has_text text="TL_p75"/>
288286
<has_n_columns n="11"/>
289-
<has_n_lines n="2" delta="10"/>
287+
<has_n_lines n="13" delta="2"/>
290288
</assert_contents>
291289
</output>
292290
<output name="output_alleles_plot">
@@ -351,9 +349,6 @@ The tool performs the following analyses:
351349
- Runtime improves with additional CPU cores (increase processes parameter)
352350
- Alleles with suffix 'i' are interstitial telomeric regions and may need to be excluded from downstream analysis
353351
354-
**Reference**
355-
356-
Stephens, Z., & Kocher, J. P. (2024). Characterization of telomere variant repeats using long reads enables allele-specific telomere length estimation. BMC Bioinformatics, 25(1), 194.
357352
]]></help>
358353
<expand macro="citations"/>
359354
</tool>

0 commit comments

Comments
 (0)