Mercurial > repos > bgruening > agat
comparison agat.xml @ 4:bcc76443a66e draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 28a6a1644ff8ffd8c3a47ccaaad0cb2da2aa87e3
author | bgruening |
---|---|
date | Wed, 07 Aug 2024 20:54:08 +0000 |
parents | 7f236c73db6e |
children | ea6d46165f3a |
comparison
equal
deleted
inserted
replaced
3:7f236c73db6e | 4:bcc76443a66e |
---|---|
38 @input_annotation_double@ | 38 @input_annotation_double@ |
39 agat_sp_compare_two_annotations.pl | 39 agat_sp_compare_two_annotations.pl |
40 --gff1 '$input1' | 40 --gff1 '$input1' |
41 --gff2 '$input2' | 41 --gff2 '$input2' |
42 --output ./temp_output && | 42 --output ./temp_output && |
43 cat ./temp_output > '${stats_output}' | 43 cat ./temp_output/report.txt > '${stats_output}' |
44 #else if $tool.selector == 'extract' | 44 #else if $tool.selector == 'extract' |
45 @input_annotation_single@ | 45 @input_annotation_single@ |
46 @input_reference@ | 46 @input_reference@ |
47 agat_sp_extract_sequences.pl | 47 agat_sp_extract_sequences.pl |
48 --gff '$input_annotation' | 48 --gff '$input_annotation' |
180 check_exons: true | 180 check_exons: true |
181 check_utrs: true | 181 check_utrs: true |
182 check_all_level2_locations: true | 182 check_all_level2_locations: true |
183 check_all_level1_locations: true | 183 check_all_level1_locations: true |
184 check_identical_isoforms: true | 184 check_identical_isoforms: true |
185 clean_attributes_from_template: false | |
185 #end if | 186 #end if |
186 ]]></configfile> | 187 ]]></configfile> |
187 </configfiles> | 188 </configfiles> |
188 <inputs> | 189 <inputs> |
189 <conditional name="tool"> | 190 <conditional name="tool"> |
333 <expand macro="AGAT_CONFIG"/> | 334 <expand macro="AGAT_CONFIG"/> |
334 </when> | 335 </when> |
335 </conditional> | 336 </conditional> |
336 </inputs> | 337 </inputs> |
337 <outputs> | 338 <outputs> |
338 <data name="annotation_gff" format="gff" label="${tool.name} on ${on_string}: annotation file (GFF)"> | 339 <data name="annotation_gff" format="gff3" label="${tool.name} on ${on_string}: annotation file (GFF)"> |
339 <filter>tool['selector'] == 'convert_GTF2GFF'</filter> | 340 <filter>tool['selector'] == 'convert_GTF2GFF'</filter> |
340 </data> | 341 </data> |
341 <data name="annotation_gtf" format="gtf" label="${tool.name} on ${on_string}: annotation file (GTF)"> | 342 <data name="annotation_gtf" format="gtf" label="${tool.name} on ${on_string}: annotation file (GTF)"> |
342 <filter>tool['selector'] == 'convert_GFF2GTF'</filter> | 343 <filter>tool['selector'] == 'convert_GFF2GTF'</filter> |
343 </data> | 344 </data> |
344 <data name="annotation" format="gff" label="${tool.name} on ${on_string}: annotation file"> | 345 <data name="annotation" format="gff3" label="${tool.name} on ${on_string}: annotation file"> |
345 <filter>tool['selector'] in ['fix','merge_annotations','complement','filter_feature_fasta','splice_sites','bam2gff','keep_longest_isoform']</filter> | 346 <filter>tool['selector'] in ['fix','merge_annotations','complement','filter_feature_fasta','splice_sites','bam2gff','keep_longest_isoform']</filter> |
346 <change_format> | 347 <change_format> |
347 <when input="output_format.selector" value="GTF" format="gtf" /> | 348 <when input="output_format.selector" value="GTF" format="gtf" /> |
348 </change_format> | 349 </change_format> |
349 </data> | 350 </data> |
436 <conditional name="output_format"> | 437 <conditional name="output_format"> |
437 <param name="selector" value="gff"/> | 438 <param name="selector" value="gff"/> |
438 <param name="version" value="3"/> | 439 <param name="version" value="3"/> |
439 </conditional> | 440 </conditional> |
440 </conditional> | 441 </conditional> |
441 <output name="annotation_gff" file="test04.gff" ftype="gff"/> | 442 <output name="annotation_gff" file="test04.gff" ftype="gff3"/> |
442 </test> | 443 </test> |
443 <!-- Test 05: Convert GFF2GTF --> | 444 <!-- Test 05: Convert GFF2GTF --> |
444 <test expect_num_outputs="1"> | 445 <test expect_num_outputs="1"> |
445 <conditional name="tool"> | 446 <conditional name="tool"> |
446 <param name="selector" value="convert_GFF2GTF"/> | 447 <param name="selector" value="convert_GFF2GTF"/> |
447 <param name="gff" value="test04.gff" ftype="gff"/> | 448 <param name="gff" value="test04.gff" ftype="gff3"/> |
448 <param name="gtf_version" value="2"/> | 449 <param name="gtf_version" value="2"/> |
449 </conditional> | 450 </conditional> |
450 <output name="annotation_gtf" file="test05.gtf" ftype="gtf"/> | 451 <output name="annotation_gtf" file="test05.gtf" ftype="gtf"/> |
451 </test> | 452 </test> |
452 <!-- Test 06: Convert GTF2GFF --> | 453 <!-- Test 06: Convert GTF2GFF --> |
453 <test expect_num_outputs="1"> | 454 <test expect_num_outputs="1"> |
454 <conditional name="tool"> | 455 <conditional name="tool"> |
455 <param name="selector" value="convert_GTF2GFF"/> | 456 <param name="selector" value="convert_GTF2GFF"/> |
456 <param name="gff" value="annotation_small.gtf" ftype="gtf"/> | 457 <param name="gff" value="annotation_small.gtf" ftype="gtf"/> |
457 </conditional> | 458 </conditional> |
458 <output name="annotation_gff" file="test06.gff" ftype="gff"/> | 459 <output name="annotation_gff" file="test06.gff" ftype="gff3"/> |
459 </test> | 460 </test> |
460 <!-- Test 07: Filter feature FASTA --> | 461 <!-- Test 07: Filter feature FASTA --> |
461 <test expect_num_outputs="1"> | 462 <test expect_num_outputs="1"> |
462 <conditional name="tool"> | 463 <conditional name="tool"> |
463 <param name="selector" value="filter_feature_fasta"/> | 464 <param name="selector" value="filter_feature_fasta"/> |
465 <conditional name="reference_genome"> | 466 <conditional name="reference_genome"> |
466 <param name="source" value="history"/> | 467 <param name="source" value="history"/> |
467 <param name="history_item" value="genome.fasta.gz"/> | 468 <param name="history_item" value="genome.fasta.gz"/> |
468 </conditional> | 469 </conditional> |
469 </conditional> | 470 </conditional> |
470 <output name="annotation" file="test07.gff" ftype="gff"/> | 471 <output name="annotation" file="test07.gff" ftype="gff3"/> |
471 </test> | 472 </test> |
472 <!-- Test 08: Fix annotation file --> | 473 <!-- Test 08: Fix annotation file --> |
473 <test expect_num_outputs="1"> | 474 <test expect_num_outputs="1"> |
474 <conditional name="tool"> | 475 <conditional name="tool"> |
475 <param name="selector" value="fix"/> | 476 <param name="selector" value="fix"/> |
476 <param name="gff" value="annotation_broken.gff" ftype="gff"/> | 477 <param name="gff" value="annotation_broken.gff" ftype="gff3"/> |
477 </conditional> | 478 </conditional> |
478 <output name="annotation_gff" file="annotation_fixed.gff" ftype="gff"/> | 479 <output name="annotation_gff" file="annotation_fixed.gff" ftype="gff3"/> |
479 <assert_stdout> | 480 <assert_stdout> |
480 <has_text text="2 exons created that were missing" /> | 481 <has_text text="2 exons created that were missing" /> |
481 </assert_stdout> | 482 </assert_stdout> |
482 </test> | 483 </test> |
483 <!-- Test 09: Functional analysis --> | 484 <!-- Test 09: Functional analysis --> |
501 </conditional> | 502 </conditional> |
502 <conditional name="output_format"> | 503 <conditional name="output_format"> |
503 <param name="selector" value="gff"/> | 504 <param name="selector" value="gff"/> |
504 <param name="version" value="3"/> | 505 <param name="version" value="3"/> |
505 </conditional> | 506 </conditional> |
506 <output name="annotation_gff" file="test10.gff" ftype="gff"/> | 507 <output name="annotation_gff" file="test10.gff" ftype="gff3"/> |
507 </test> | 508 </test> |
508 <!-- Test 11: Test compressed files --> | 509 <!-- Test 11: Test compressed files --> |
509 <test expect_num_outputs="1"> | 510 <test expect_num_outputs="1"> |
510 <conditional name="tool"> | 511 <conditional name="tool"> |
511 <param name="selector" value="fix"/> | 512 <param name="selector" value="fix"/> |
512 <param name="gff" value="annotation_broken.gff.gz" ftype="gff"/> | 513 <param name="gff" value="annotation_broken.gff.gz" ftype="gff3"/> |
513 </conditional> | 514 </conditional> |
514 <output name="annotation_gff" file="annotation_fixed.gff" ftype="gff"/> | 515 <output name="annotation_gff" file="annotation_fixed.gff" ftype="gff3"/> |
515 <assert_stdout> | 516 <assert_stdout> |
516 <has_text text="2 exons created that were missing" /> | 517 <has_text text="2 exons created that were missing" /> |
517 </assert_stdout> | 518 </assert_stdout> |
518 </test> | 519 </test> |
519 <!-- Test 12:test indexed references --> | 520 <!-- Test 12:test indexed references --> |
533 </test> | 534 </test> |
534 <!-- Test 13: Add splicing sites --> | 535 <!-- Test 13: Add splicing sites --> |
535 <test expect_num_outputs="1"> | 536 <test expect_num_outputs="1"> |
536 <conditional name="tool"> | 537 <conditional name="tool"> |
537 <param name="selector" value="splice_sites"/> | 538 <param name="selector" value="splice_sites"/> |
538 <param name="gff" value="test04.gff" ftype="gff"/> | 539 <param name="gff" value="test04.gff" ftype="gff3"/> |
539 </conditional> | 540 </conditional> |
540 <output name="annotation" file="test13.gff" ftype="gff"/> | 541 <output name="annotation" file="test13.gff" ftype="gff3"/> |
541 </test> | 542 </test> |
542 <!-- Test 14: Functional annotation --> | 543 <!-- Test 14: Functional annotation --> |
543 <test expect_num_outputs="7"> | 544 <test expect_num_outputs="7"> |
544 <conditional name="tool"> | 545 <conditional name="tool"> |
545 <param name="selector" value="functional_annotation"/> | 546 <param name="selector" value="functional_annotation"/> |
546 <param name="gff" value="annotation_fixed.gff" ftype="gff"/> | 547 <param name="gff" value="annotation_fixed.gff" ftype="gff3"/> |
547 <param name="input_interpro" value="interpro_input.tabular"/> | 548 <param name="input_interpro" value="interpro_input.tabular"/> |
548 <conditional name="blast_adv"> | 549 <conditional name="blast_adv"> |
549 <param name="options" value="no"/> | 550 <param name="options" value="no"/> |
550 </conditional> | 551 </conditional> |
551 </conditional> | 552 </conditional> |
561 <test expect_num_outputs="1"> | 562 <test expect_num_outputs="1"> |
562 <conditional name="tool"> | 563 <conditional name="tool"> |
563 <param name="selector" value="keep_longest_isoform"/> | 564 <param name="selector" value="keep_longest_isoform"/> |
564 <param name="gff" value="annotation_dup.gff"/> | 565 <param name="gff" value="annotation_dup.gff"/> |
565 </conditional> | 566 </conditional> |
566 <output name="annotation" file="test15.gff" ftype="gff"/> | 567 <output name="annotation" file="test15.gff" ftype="gff3"/> |
567 </test> | 568 </test> |
568 </tests> | 569 </tests> |
569 <help><![CDATA[ | 570 <help><![CDATA[ |
570 | 571 |
571 .. class:: infomark | 572 .. class:: infomark |