Mercurial > repos > bgruening > agat
comparison agat.xml @ 6:d6ede73082da draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit df456b8d319fd0a629829fba0f5819117b7936d3
author | bgruening |
---|---|
date | Fri, 18 Oct 2024 13:34:42 +0000 |
parents | e7449b2c14bf |
children |
comparison
equal
deleted
inserted
replaced
5:e7449b2c14bf | 6:d6ede73082da |
---|---|
141 agat_sp_keep_longest_isoform.pl | 141 agat_sp_keep_longest_isoform.pl |
142 --gff '$input_annotation' | 142 --gff '$input_annotation' |
143 --config '$agat_configfile' | 143 --config '$agat_configfile' |
144 --output ./output && | 144 --output ./output && |
145 cat ./output > '${annotation}' | 145 cat ./output > '${annotation}' |
146 #else if $tool.selector == 'fix_overlapping_genes' | |
147 @input_annotation_single@ | |
148 agat_sp_fix_overlaping_genes.pl | |
149 --gff '$input_annotation' | |
150 --config '$agat_configfile' | |
151 --output ./output && | |
152 cat ./output > '${annotation}' | |
146 #end if | 153 #end if |
147 ]]> | 154 ]]> |
148 </command> | 155 </command> |
149 <configfiles> | 156 <configfiles> |
150 <configfile name="agat_configfile"><![CDATA[ | 157 <configfile name="agat_configfile"><![CDATA[ |
151 #if $tool.selector in ['fix','merge_annotations','complement','splice_sites','filter_feature_fasta','keep_longest_isoform'] | 158 #if $tool.selector in ['fix','merge_annotations','complement','splice_sites','filter_feature_fasta','keep_longest_isoform', 'fix_overlapping_genes'] |
152 --- | 159 --- |
153 output_format: $tool.output_format.selector | 160 output_format: $tool.output_format.selector |
154 #if $tool.output_format.selector == "GFF" | 161 #if $tool.output_format.selector == "GFF" |
155 gff_output_version: $tool.output_format.version | 162 gff_output_version: $tool.output_format.version |
156 gtf_output_version: relax | 163 gtf_output_version: relax |
200 <option value="fix">Fix and/or standarize GFF3 annotation file (agat_convert_sp_gxf2gxf.pl)</option> | 207 <option value="fix">Fix and/or standarize GFF3 annotation file (agat_convert_sp_gxf2gxf.pl)</option> |
201 <option value="functional_analysis">Functional analysis (agat_sp_functional_statistics.pl)</option> | 208 <option value="functional_analysis">Functional analysis (agat_sp_functional_statistics.pl)</option> |
202 <option value="merge_annotations">Merge annotations (agat_sp_merge_annotations.pl)</option> | 209 <option value="merge_annotations">Merge annotations (agat_sp_merge_annotations.pl)</option> |
203 <option value="functional_annotation">Functional annotation (agat_sp_manage_functional_annotation.pl)</option> | 210 <option value="functional_annotation">Functional annotation (agat_sp_manage_functional_annotation.pl)</option> |
204 <option value="keep_longest_isoform">Keep longest isoform (agat_sp_keep_longest_isoform.pl)</option> | 211 <option value="keep_longest_isoform">Keep longest isoform (agat_sp_keep_longest_isoform.pl)</option> |
212 <option value="fix_overlapping_genes">Fix Overlapping Genes (agat_sp_fix_overlaping_genes.pl)</option> | |
205 </param> | 213 </param> |
206 <when value="annotation_statistics"> | 214 <when value="annotation_statistics"> |
207 <expand macro="ANNOTATION_INPUT"/> | 215 <expand macro="ANNOTATION_INPUT"/> |
208 <expand macro="REFERENCE_FASTA"/> | 216 <expand macro="REFERENCE_FASTA"/> |
209 </when> | 217 </when> |
331 </when> | 339 </when> |
332 <when value="keep_longest_isoform"> | 340 <when value="keep_longest_isoform"> |
333 <expand macro="ANNOTATION_INPUT" format="gff,gff3,gff3.gz"/> | 341 <expand macro="ANNOTATION_INPUT" format="gff,gff3,gff3.gz"/> |
334 <expand macro="AGAT_CONFIG"/> | 342 <expand macro="AGAT_CONFIG"/> |
335 </when> | 343 </when> |
344 <when value="fix_overlapping_genes"> | |
345 <expand macro="ANNOTATION_INPUT" format="gff,gff3,gff3.gz"/> | |
346 <expand macro="AGAT_CONFIG"/> | |
347 </when> | |
336 </conditional> | 348 </conditional> |
337 </inputs> | 349 </inputs> |
338 <outputs> | 350 <outputs> |
339 <data name="annotation_gff" format="gff3" label="${tool.name} on ${on_string}: annotation file (GFF)"> | 351 <data name="annotation_gff" format="gff3" label="${tool.name} on ${on_string}: annotation file (GFF)"> |
340 <filter>tool['selector'] == 'convert_GTF2GFF'</filter> | 352 <filter>tool['selector'] == 'convert_GTF2GFF'</filter> |
341 </data> | 353 </data> |
342 <data name="annotation_gtf" format="gtf" label="${tool.name} on ${on_string}: annotation file (GTF)"> | 354 <data name="annotation_gtf" format="gtf" label="${tool.name} on ${on_string}: annotation file (GTF)"> |
343 <filter>tool['selector'] == 'convert_GFF2GTF'</filter> | 355 <filter>tool['selector'] == 'convert_GFF2GTF'</filter> |
344 </data> | 356 </data> |
345 <data name="annotation" format="gff3" label="${tool.name} on ${on_string}: annotation file"> | 357 <data name="annotation" format="gff3" label="${tool.name} on ${on_string}: annotation file"> |
346 <filter>tool['selector'] in ['fix','merge_annotations','complement','filter_feature_fasta','splice_sites','bam2gff','keep_longest_isoform']</filter> | 358 <filter>tool['selector'] in ['fix','merge_annotations','complement','filter_feature_fasta','splice_sites','bam2gff','keep_longest_isoform', 'fix_overlapping_genes']</filter> |
347 <change_format> | 359 <change_format> |
348 <when input="output_format.selector" value="GTF" format="gtf" /> | 360 <when input="output_format.selector" value="GTF" format="gtf" /> |
349 </change_format> | 361 </change_format> |
350 </data> | 362 </data> |
351 <data name="sequence_output" format="fasta" label="${tool.name} on ${on_string}: FASTA file"> | 363 <data name="sequence_output" format="fasta" label="${tool.name} on ${on_string}: FASTA file"> |
564 <param name="selector" value="keep_longest_isoform"/> | 576 <param name="selector" value="keep_longest_isoform"/> |
565 <param name="gff" value="annotation_dup.gff"/> | 577 <param name="gff" value="annotation_dup.gff"/> |
566 </conditional> | 578 </conditional> |
567 <output name="annotation" file="test15.gff" ftype="gff3"/> | 579 <output name="annotation" file="test15.gff" ftype="gff3"/> |
568 </test> | 580 </test> |
581 <!-- Test 16: Fix overlapping genes --> | |
582 <test expect_num_outputs="1"> | |
583 <conditional name="tool"> | |
584 <param name="selector" value="fix_overlapping_genes"/> | |
585 <param name="gff" value="test16_input.gff"/> | |
586 </conditional> | |
587 <output name="annotation" file="test16.gff" ftype="gff3"/> | |
588 </test> | |
569 </tests> | 589 </tests> |
570 <help><![CDATA[ | 590 <help><![CDATA[ |
571 | 591 |
572 .. class:: infomark | 592 .. class:: infomark |
573 | 593 |