# HG changeset patch # User bgruening # Date 1723064067 0 # Node ID e7449b2c14bf2255dfbf7b70315d7ff60fbe07ea # Parent abba05ead5d72aa394927691435486c3ab869383 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 28a6a1644ff8ffd8c3a47ccaaad0cb2da2aa87e3 diff -r abba05ead5d7 -r e7449b2c14bf agat.xml --- a/agat.xml Fri Jul 26 15:21:48 2024 +0000 +++ b/agat.xml Wed Aug 07 20:54:27 2024 +0000 @@ -40,7 +40,7 @@ --gff1 '$input1' --gff2 '$input2' --output ./temp_output && - cat ./temp_output > '${stats_output}' + cat ./temp_output/report.txt > '${stats_output}' #else if $tool.selector == 'extract' @input_annotation_single@ @input_reference@ @@ -182,6 +182,7 @@ check_all_level2_locations: true check_all_level1_locations: true check_identical_isoforms: true +clean_attributes_from_template: false #end if ]]> @@ -335,13 +336,13 @@ - + tool['selector'] == 'convert_GTF2GFF' tool['selector'] == 'convert_GFF2GTF' - + tool['selector'] in ['fix','merge_annotations','complement','filter_feature_fasta','splice_sites','bam2gff','keep_longest_isoform'] @@ -438,13 +439,13 @@ - + - + @@ -455,7 +456,7 @@ - + @@ -467,15 +468,15 @@ - + - + - + @@ -503,15 +504,15 @@ - + - + - + @@ -535,15 +536,15 @@ - + - + - + @@ -563,7 +564,7 @@ - + - 1.2.0 - 2 + 1.4.0 + 0 agat diff -r abba05ead5d7 -r e7449b2c14bf test-data/annotation_fixed.gff --- a/test-data/annotation_fixed.gff Fri Jul 26 15:21:48 2024 +0000 +++ b/test-data/annotation_fixed.gff Wed Aug 07 20:54:27 2024 +0000 @@ -14,11 +14,11 @@ NZ_CP027599.1 Protein Homology CDS 1052 2152 . + 0 ID=cds-WP_000673464.1;Parent=gene-C7A06_RS00010;Dbxref=Genbank:WP_000673464.1;Name=WP_000673464.1;Ontology_term=GO:0006260,GO:0003887,GO:0009360;gbkey=CDS;gene=dnaN;gene_id=nbis-gene-2;go_component=DNA polymerase III complex|0009360||IEA;go_function=DNA-directed DNA polymerase activity|0003887||IEA;go_process=DNA replication|0006260||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:WP_006177590.1;locus_tag=C7A06_RS00010;product=DNA polymerase III subunit beta;protein_id=WP_000673464.1;transcript_id=gene-C7A06_RS00010;transl_table=11 NZ_CP027599.1 RefSeq gene 2152 3225 . + . ID=nbis-gene-3;Name=recF;gbkey=Gene;gene=recF;gene_biotype=protein_coding;gene_id=nbis-gene-3;locus_tag=C7A06_RS00015 NZ_CP027599.1 RefSeq transcript 2152 3225 . + . ID=gene-C7A06_RS00015;Parent=nbis-gene-3;Name=recF;gbkey=Gene;gene=recF;gene_biotype=protein_coding;gene_id=nbis-gene-3;locus_tag=C7A06_RS00015;original_biotype=mrna;transcript_id=gene-C7A06_RS00015 -NZ_CP027599.1 Protein Homology exon 2152 3225 . + . ID=nbis-exon-1;Parent=gene-C7A06_RS00015;Dbxref=Genbank:WP_000060112.1;Name=WP_000060112.1;Ontology_term=GO:0006281,GO:0003697,GO:0005524;gbkey=CDS;gene=recF;gene_id=nbis-gene-3;go_function=single-stranded DNA binding|0003697||IEA,ATP binding|0005524||IEA;go_process=DNA repair|0006281||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:WP_005121479.1;locus_tag=C7A06_RS00015;product=DNA replication/repair protein RecF;protein_id=WP_000060112.1;transcript_id=gene-C7A06_RS00015;transl_table=11 +NZ_CP027599.1 AGAT exon 2152 3225 . + . ID=nbis-exon-1;Parent=gene-C7A06_RS00015;Dbxref=Genbank:WP_000060112.1;Name=WP_000060112.1;Ontology_term=GO:0006281,GO:0003697,GO:0005524;gbkey=CDS;gene=recF;gene_id=nbis-gene-3;go_function=single-stranded DNA binding|0003697||IEA,ATP binding|0005524||IEA;go_process=DNA repair|0006281||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:WP_005121479.1;locus_tag=C7A06_RS00015;product=DNA replication/repair protein RecF;protein_id=WP_000060112.1;transcript_id=gene-C7A06_RS00015;transl_table=11 NZ_CP027599.1 Protein Homology CDS 2152 3225 . + 0 ID=cds-WP_000060112.1;Parent=gene-C7A06_RS00015;Dbxref=Genbank:WP_000060112.1;Name=WP_000060112.1;Ontology_term=GO:0006281,GO:0003697,GO:0005524;gbkey=CDS;gene=recF;gene_id=nbis-gene-3;go_function=single-stranded DNA binding|0003697||IEA,ATP binding|0005524||IEA;go_process=DNA repair|0006281||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:WP_005121479.1;locus_tag=C7A06_RS00015;product=DNA replication/repair protein RecF;protein_id=WP_000060112.1;transcript_id=gene-C7A06_RS00015;transl_table=11 NZ_CP027599.1 RefSeq gene 3254 5668 . + . ID=nbis-gene-4;Name=gyrB;gbkey=Gene;gene=gyrB;gene_biotype=protein_coding;gene_id=nbis-gene-4;locus_tag=C7A06_RS00020 -NZ_CP027599.1 RefSeq mRNA 3254 5668 . + . ID=gene-C7A06_RS00020;Parent=nbis-gene-4;Name=gyrB;gbkey=Gene;gene=gyrB;gene_biotype=protein_coding;gene_id=nbis-gene-4;locus_tag=C7A06_RS00020 -NZ_CP027599.1 Protein Homology exon 3254 5668 . + . ID=nbis-exon-3;Parent=gene-C7A06_RS00020;Dbxref=Genbank:WP_000072067.1;Name=WP_000072067.1;Ontology_term=GO:0006265,GO:0003918,GO:0009330;gbkey=CDS;gene=gyrB;gene_id=nbis-gene-4;go_component=DNA topoisomerase type II (double strand cut%2C ATP-hydrolyzing) complex|0009330||IEA;go_function=DNA topoisomerase type II (double strand cut%2C ATP-hydrolyzing) activity|0003918||IEA;go_process=DNA topological change|0006265||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:WP_005121480.1;locus_tag=C7A06_RS00020;product=DNA topoisomerase (ATP-hydrolyzing) subunit B;protein_id=WP_000072067.1;transcript_id=gene-C7A06_RS00020;transl_table=11 +NZ_CP027599.1 AGAT mRNA 3254 5668 . + . ID=gene-C7A06_RS00020;Parent=nbis-gene-4;Dbxref=Genbank:WP_000072067.1;Name=WP_000072067.1;Ontology_term=GO:0006265,GO:0003918,GO:0009330;gbkey=CDS;gene=gyrB;gene_id=nbis-gene-4;go_component=DNA topoisomerase type II (double strand cut%2C ATP-hydrolyzing) complex|0009330||IEA;go_function=DNA topoisomerase type II (double strand cut%2C ATP-hydrolyzing) activity|0003918||IEA;go_process=DNA topological change|0006265||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:WP_005121480.1;locus_tag=C7A06_RS00020;product=DNA topoisomerase (ATP-hydrolyzing) subunit B;protein_id=WP_000072067.1;transcript_id=gene-C7A06_RS00020;transl_table=11 +NZ_CP027599.1 AGAT exon 3254 5668 . + . ID=nbis-exon-3;Parent=gene-C7A06_RS00020;Dbxref=Genbank:WP_000072067.1;Name=WP_000072067.1;Ontology_term=GO:0006265,GO:0003918,GO:0009330;gbkey=CDS;gene=gyrB;gene_id=nbis-gene-4;go_component=DNA topoisomerase type II (double strand cut%2C ATP-hydrolyzing) complex|0009330||IEA;go_function=DNA topoisomerase type II (double strand cut%2C ATP-hydrolyzing) activity|0003918||IEA;go_process=DNA topological change|0006265||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:WP_005121480.1;locus_tag=C7A06_RS00020;product=DNA topoisomerase (ATP-hydrolyzing) subunit B;protein_id=WP_000072067.1;transcript_id=gene-C7A06_RS00020;transl_table=11 NZ_CP027599.1 Protein Homology CDS 3254 5668 . + 0 ID=cds-WP_000072067.1;Parent=gene-C7A06_RS00020;Dbxref=Genbank:WP_000072067.1;Name=WP_000072067.1;Ontology_term=GO:0006265,GO:0003918,GO:0009330;gbkey=CDS;gene=gyrB;gene_id=nbis-gene-4;go_component=DNA topoisomerase type II (double strand cut%2C ATP-hydrolyzing) complex|0009330||IEA;go_function=DNA topoisomerase type II (double strand cut%2C ATP-hydrolyzing) activity|0003918||IEA;go_process=DNA topological change|0006265||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:WP_005121480.1;locus_tag=C7A06_RS00020;product=DNA topoisomerase (ATP-hydrolyzing) subunit B;protein_id=WP_000072067.1;transcript_id=gene-C7A06_RS00020;transl_table=11 NZ_CP027599.1 RefSeq gene 5908 6306 . + . ID=nbis-gene-5;Name=yidB;gbkey=Gene;gene=yidB;gene_biotype=protein_coding;gene_id=nbis-gene-5;locus_tag=C7A06_RS00025 NZ_CP027599.1 RefSeq transcript 5908 6306 . + . ID=gene-C7A06_RS00025;Parent=nbis-gene-5;Name=yidB;gbkey=Gene;gene=yidB;gene_biotype=protein_coding;gene_id=nbis-gene-5;locus_tag=C7A06_RS00025;original_biotype=mrna;transcript_id=gene-C7A06_RS00025 @@ -27,7 +27,7 @@ NZ_CP027599.1 RefSeq gene 6421 7233 . + . ID=nbis-gene-6;Name=yidA;gbkey=Gene;gene=yidA;gene_biotype=protein_coding;gene_id=nbis-gene-6;locus_tag=C7A06_RS00030 NZ_CP027599.1 RefSeq transcript 6421 7233 . + . ID=gene-C7A06_RS00030;Parent=nbis-gene-6;Name=yidA;gbkey=Gene;gene=yidA;gene_biotype=protein_coding;gene_id=nbis-gene-6;locus_tag=C7A06_RS00030;original_biotype=mrna;transcript_id=gene-C7A06_RS00030 NZ_CP027599.1 Protein Homology exon 6421 7233 . + . ID=nbis-exon-6;Parent=gene-C7A06_RS00030;Dbxref=Genbank:WP_000985541.1;Name=WP_000985541.1;Ontology_term=GO:0016787;gbkey=CDS;gene=yidA;gene_id=nbis-gene-6;go_function=hydrolase activity|0016787||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:NP_418152.1;locus_tag=C7A06_RS00030;product=sugar-phosphatase;protein_id=WP_000985541.1;transcript_id=gene-C7A06_RS00030;transl_table=11 -NZ_CP027599.1 RefSeq gene 7279 7935 . - . ID=nbis-gene-7;Name=C7A06_RS00035;gbkey=Gene;gene_biotype=protein_coding;gene_id=nbis-gene-7;locus_tag=C7A06_RS00035;original_biotype=mrna;transcript_id=gene-C7A06_RS00035 +NZ_CP027599.1 AGAT gene 7279 7935 . - . ID=nbis-gene-7;Name=C7A06_RS00035;gbkey=Gene;gene_biotype=protein_coding;gene_id=nbis-gene-7;locus_tag=C7A06_RS00035;original_biotype=mrna;transcript_id=gene-C7A06_RS00035 NZ_CP027599.1 RefSeq transcript 7279 7935 . - . ID=gene-C7A06_RS00035;Parent=nbis-gene-7;Name=C7A06_RS00035;gbkey=Gene;gene_biotype=protein_coding;gene_id=nbis-gene-7;locus_tag=C7A06_RS00035;original_biotype=mrna;transcript_id=gene-C7A06_RS00035 NZ_CP027599.1 Protein Homology exon 7279 7935 . - . ID=nbis-exon-7;Parent=gene-C7A06_RS00035;Dbxref=Genbank:WP_000772931.1;Name=WP_000772931.1;gbkey=CDS;gene_id=nbis-gene-7;inference=COORDINATES: similar to AA sequence:RefSeq:NP_709504.1;locus_tag=C7A06_RS00035;product=hypothetical protein;protein_id=WP_000772931.1;transcript_id=gene-C7A06_RS00035;transl_table=11 NZ_CP027599.1 Protein Homology CDS 7279 7935 . - 0 ID=cds-WP_000772931.1;Parent=gene-C7A06_RS00035;Dbxref=Genbank:WP_000772931.1;Name=WP_000772931.1;gbkey=CDS;gene_id=nbis-gene-7;inference=COORDINATES: similar to AA sequence:RefSeq:NP_709504.1;locus_tag=C7A06_RS00035;product=hypothetical protein;protein_id=WP_000772931.1;transcript_id=gene-C7A06_RS00035;transl_table=11 @@ -36,7 +36,7 @@ NZ_CP027599.1 Protein Homology exon 8213 8902 . + . ID=nbis-exon-8;Parent=gene-C7A06_RS00040;Dbxref=Genbank:WP_000174305.1;Name=WP_000174305.1;gbkey=CDS;gene=dgoR;gene_id=nbis-gene-8;inference=COORDINATES: similar to AA sequence:RefSeq:NP_709505.1;locus_tag=C7A06_RS00040;product=D-galactonate utilization transcriptional regulator DgoR;protein_id=WP_000174305.1;transcript_id=gene-C7A06_RS00040;transl_table=11 NZ_CP027599.1 Protein Homology CDS 8213 8902 . + 0 ID=cds-WP_000174305.1;Parent=gene-C7A06_RS00040;Dbxref=Genbank:WP_000174305.1;Name=WP_000174305.1;gbkey=CDS;gene=dgoR;gene_id=nbis-gene-8;inference=COORDINATES: similar to AA sequence:RefSeq:NP_709505.1;locus_tag=C7A06_RS00040;product=D-galactonate utilization transcriptional regulator DgoR;protein_id=WP_000174305.1;transcript_id=gene-C7A06_RS00040;transl_table=11 NZ_CP027599.1 RefSeq gene 8899 9777 . + . ID=nbis-gene-9;Name=dgoK;gbkey=Gene;gene=dgoK;gene_biotype=protein_coding;gene_id=nbis-gene-9;locus_tag=C7A06_RS00045 -NZ_CP027599.1 RefSeq mRNA 8899 9777 . + . ID=gene-C7A06_RS00045;Parent=nbis-gene-9;Name=dgoK;gbkey=Gene;gene=dgoK;gene_biotype=protein_coding;gene_id=nbis-gene-9;locus_tag=C7A06_RS00045 +NZ_CP027599.1 AGAT mRNA 8899 9777 . + . ID=gene-C7A06_RS00045;Parent=nbis-gene-9;Dbxref=Genbank:WP_000127112.1;Name=WP_000127112.1;gbkey=CDS;gene=dgoK;gene_id=nbis-gene-9;inference=COORDINATES: similar to AA sequence:RefSeq:NP_709506.1;locus_tag=C7A06_RS00045;product=2-dehydro-3-deoxygalactonokinase;protein_id=WP_000127112.1;transcript_id=gene-C7A06_RS00045;transl_table=11 NZ_CP027599.1 Protein Homology exon 8899 9777 . + . ID=nbis-exon-9;Parent=gene-C7A06_RS00045;Dbxref=Genbank:WP_000127112.1;Name=WP_000127112.1;gbkey=CDS;gene=dgoK;gene_id=nbis-gene-9;inference=COORDINATES: similar to AA sequence:RefSeq:NP_709506.1;locus_tag=C7A06_RS00045;product=2-dehydro-3-deoxygalactonokinase;protein_id=WP_000127112.1;transcript_id=gene-C7A06_RS00045;transl_table=11 NZ_CP027599.1 Protein Homology CDS 8899 9777 . + 0 ID=cds-WP_000127112.1;Parent=gene-C7A06_RS00045;Dbxref=Genbank:WP_000127112.1;Name=WP_000127112.1;gbkey=CDS;gene=dgoK;gene_id=nbis-gene-9;inference=COORDINATES: similar to AA sequence:RefSeq:NP_709506.1;locus_tag=C7A06_RS00045;product=2-dehydro-3-deoxygalactonokinase;protein_id=WP_000127112.1;transcript_id=gene-C7A06_RS00045;transl_table=11 NZ_CP027599.1 RefSeq gene 9761 10378 . + . ID=nbis-gene-10;Name=dgoA;gbkey=Gene;gene=dgoA;gene_biotype=protein_coding;gene_id=nbis-gene-10;locus_tag=C7A06_RS00050 diff -r abba05ead5d7 -r e7449b2c14bf test-data/functional_annot/report.txt --- a/test-data/functional_annot/report.txt Fri Jul 26 15:21:48 2024 +0000 +++ b/test-data/functional_annot/report.txt Wed Aug 07 20:54:27 2024 +0000 @@ -1,5 +1,5 @@ -02/15/2024 -usage: /home/rlibouba/miniconda3/envs/__agat@1.2.0/bin/agat_sp_manage_functional_annotation.pl --gff annotation.gff -i /tmp/tmpvotn3s2b/files/d/a/b/dataset_dab3424c-9f01-4319-a841-302674d17b7c.dat -pe 5 -o galaxy_functional_annot +08/07/2024 +usage: /usr/local/bin/agat_sp_manage_functional_annotation.pl --gff annotation.gff3 --interpro /tmp/tmpfrax2fi0/files/1/a/8/dataset_1a8bf643-33d2-43bd-b647-4dc301ad8c40.dat -pe 5 -o galaxy_functional_annot -------------------------------------------------------------------------------- ------------------------------------- mrna ------------------------------------- diff -r abba05ead5d7 -r e7449b2c14bf test-data/test01_plot1.pdf Binary file test-data/test01_plot1.pdf has changed diff -r abba05ead5d7 -r e7449b2c14bf test-data/test03.txt --- a/test-data/test03.txt Fri Jul 26 15:21:48 2024 +0000 +++ b/test-data/test03.txt Wed Aug 07 20:54:27 2024 +0000 @@ -1,4 +1,4 @@ -usage: /home/rlibouba/miniconda3/envs/__agat@1.2.0/bin/agat_sp_compare_two_annotations.pl --gff1 annotation1.gtf --gff2 annotation2.gtf --output ./temp_output +usage: /usr/local/bin/agat_sp_compare_two_annotations.pl --gff1 annotation1.gtf --gff2 annotation2.gtf --output ./temp_output Results of number of genes from file1 that overlap genes from file2: ----------------------------------------------------------------------------------------------