Mercurial > repos > bgruening > agat
changeset 4:abba05ead5d7 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/agat commit 85b3b324f510d5f3c9322ecbdd9636e0c2cb8c07
author | bgruening |
---|---|
date | Fri, 26 Jul 2024 15:21:48 +0000 |
parents | a6318f87f2cd |
children | e7449b2c14bf |
files | agat.xml macros.xml test-data/annotation_dup.gff test-data/test15.gff |
diffstat | 4 files changed, 127 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/agat.xml Thu Feb 15 15:47:19 2024 +0000 +++ b/agat.xml Fri Jul 26 15:21:48 2024 +0000 @@ -105,7 +105,7 @@ --fasta '$ref_genome' --config '$agat_configfile' --output ./output && - cat ./output > '${annotation}' + cat ./output > '${annotation}' #else if $tool.selector == 'complement' @input_annotation_double@ agat_sp_complement_annotations.pl @@ -136,12 +136,19 @@ #end if -pe $tool.prot_existence -o galaxy_functional_annot + #else if $tool.selector == 'keep_longest_isoform' + @input_annotation_single@ + agat_sp_keep_longest_isoform.pl + --gff '$input_annotation' + --config '$agat_configfile' + --output ./output && + cat ./output > '${annotation}' #end if ]]> </command> <configfiles> <configfile name="agat_configfile"><![CDATA[ -#if $tool.selector in ['fix','merge_annotations','complement','splice_sites','filter_feature_fasta'] +#if $tool.selector in ['fix','merge_annotations','complement','splice_sites','filter_feature_fasta','keep_longest_isoform'] --- output_format: $tool.output_format.selector #if $tool.output_format.selector == "GFF" @@ -193,6 +200,7 @@ <option value="functional_analysis">Functional analysis (agat_sp_functional_statistics.pl)</option> <option value="merge_annotations">Merge annotations (agat_sp_merge_annotations.pl)</option> <option value="functional_annotation">Functional annotation (agat_sp_manage_functional_annotation.pl)</option> + <option value="keep_longest_isoform">Keep longest isoform (agat_sp_keep_longest_isoform.pl)</option> </param> <when value="annotation_statistics"> <expand macro="ANNOTATION_INPUT"/> @@ -295,7 +303,6 @@ <expand macro="ANNOTATION_INPUT" format="gff,gff3,gff3.gz"/> <expand macro="AGAT_CONFIG"/> </when> - <when value="functional_annotation"> <expand macro="ANNOTATION_INPUT" format="gff,gff3,gff3.gz"/> <param argument="-i" name="input_interpro" type="data" format="tabular" optional="true" label="Input interpro file"/> @@ -321,6 +328,10 @@ <option value="5" selected="true">Protein uncertain</option> </param> </when> + <when value="keep_longest_isoform"> + <expand macro="ANNOTATION_INPUT" format="gff,gff3,gff3.gz"/> + <expand macro="AGAT_CONFIG"/> + </when> </conditional> </inputs> <outputs> @@ -331,7 +342,7 @@ <filter>tool['selector'] == 'convert_GFF2GTF'</filter> </data> <data name="annotation" format="gff" label="${tool.name} on ${on_string}: annotation file"> - <filter>tool['selector'] in ['fix','merge_annotations','complement','filter_feature_fasta','splice_sites','bam2gff']</filter> + <filter>tool['selector'] in ['fix','merge_annotations','complement','filter_feature_fasta','splice_sites','bam2gff','keep_longest_isoform']</filter> <change_format> <when input="output_format.selector" value="GTF" format="gtf" /> </change_format> @@ -538,7 +549,7 @@ <param name="options" value="no"/> </conditional> </conditional> - <output name="sequence_annot_functional_report" file="functional_annot/report.txt" ftype="txt" lines_diff="2"/> + <output name="sequence_annot_functional_report" file="functional_annot/report.txt" ftype="txt" lines_diff="4"/> <output name="sequence_annot_functional_error" file="functional_annot/error.txt" ftype="txt" lines_diff="2"/> <output name="sequence_annot_functional_interpro_GO" file="functional_annot/GO.txt" ftype="txt" lines_diff="2"/> <output name="sequence_annot_functional_interpro" file="functional_annot/InterPro.txt" ftype="txt" lines_diff="2"/> @@ -546,6 +557,14 @@ <output name="sequence_annot_functional_ProSitePatterns" file="functional_annot/ProSitePatterns.txt" ftype="txt" lines_diff="2"/> <output name="sequence_annot_functional_Reactome" file="functional_annot/Reactome.txt" ftype="txt" lines_diff="2"/> </test> + <!-- Test 15: Keep longest isoform --> + <test expect_num_outputs="1"> + <conditional name="tool"> + <param name="selector" value="keep_longest_isoform"/> + <param name="gff" value="annotation_dup.gff"/> + </conditional> + <output name="annotation" file="test15.gff" ftype="gff"/> + </test> </tests> <help><![CDATA[
--- a/macros.xml Thu Feb 15 15:47:19 2024 +0000 +++ b/macros.xml Fri Jul 26 15:21:48 2024 +0000 @@ -1,6 +1,6 @@ <macros> <token name="@TOOL_VERSION@">1.2.0</token> - <token name="@VERSION_SUFFIX@">1</token> + <token name="@VERSION_SUFFIX@">2</token> <xml name="requirements"> <requirements> <requirement type="package" version="@TOOL_VERSION@">agat</requirement>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/annotation_dup.gff Fri Jul 26 15:21:48 2024 +0000 @@ -0,0 +1,52 @@ +##gtf-version 3 +#!gff-spec-version 1.21 +#!processor NCBI annotwriter +#!genome-build ASM301845v1 +#!genome-build-accession NCBI_Assembly:GCF_003018455.1 +#!annotation-date 05/25/2022 04:54:31 +#!annotation-source NCBI RefSeq +##sequence-region NZ_CP027599.1 1 5942969 +##species https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=562 +NZ_CP027599.1 RefSeq gene 1052 2152 . + . gene_id "nbis-gene-2"; ID "nbis-gene-2"; Name "dnaN"; gbkey "Gene"; gene "dnaN"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00010"; +NZ_CP027599.1 RefSeq transcript 1052 2152 . + . gene_id "nbis-gene-2"; transcript_id "gene-C7A06_RS00010"; ID "gene-C7A06_RS00010"; Name "dnaN"; Parent "nbis-gene-2"; gbkey "Gene"; gene "dnaN"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00010"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 1052 2152 . + . gene_id "nbis-gene-2"; transcript_id "gene-C7A06_RS00010"; Dbxref "Genbank:WP_000673464.1"; ID "nbis-exon-2"; Name "WP_000673464.1"; Ontology_term "GO:0006260" "GO:0003887" "GO:0009360"; Parent "gene-C7A06_RS00010"; gbkey "CDS"; gene "dnaN"; 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"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 1052 2152 . + 0 gene_id "nbis-gene-2"; transcript_id "gene-C7A06_RS00010"; Dbxref "Genbank:WP_000673464.1"; ID "cds-WP_000673464.1"; Name "WP_000673464.1"; Ontology_term "GO:0006260" "GO:0003887" "GO:0009360"; Parent "gene-C7A06_RS00010"; gbkey "CDS"; gene "dnaN"; 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"; transl_table "11"; +NZ_CP027599.1 RefSeq transcript 1052 2152 . + . gene_id "nbis-gene-2"; transcript_id "gene-C7A06_RS00011"; ID "gene-C7A06_RS00010"; Name "dnaN"; Parent "nbis-gene-2"; gbkey "Gene"; gene "dnaN"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00010"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 1052 2152 . + . gene_id "nbis-gene-2"; transcript_id "gene-C7A06_RS00011"; Dbxref "Genbank:WP_000673464.1"; ID "nbis-exon-2b"; Name "WP_000673464.1"; Ontology_term "GO:0006260" "GO:0003887" "GO:0009360"; Parent "gene-C7A06_RS00010"; gbkey "CDS"; gene "dnaN"; 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"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 1052 2152 . + 0 gene_id "nbis-gene-2"; transcript_id "gene-C7A06_RS00011"; Dbxref "Genbank:WP_000673464.1"; ID "cds-WP_000673464.2"; Name "WP_000673464.2"; Ontology_term "GO:0006260" "GO:0003887" "GO:0009360"; Parent "gene-C7A06_RS00010"; gbkey "CDS"; gene "dnaN"; 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"; transl_table "11"; +NZ_CP027599.1 RefSeq gene 2152 3225 . + . gene_id "nbis-gene-3"; ID "nbis-gene-3"; Name "recF"; gbkey "Gene"; gene "recF"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00015"; +NZ_CP027599.1 RefSeq transcript 2152 3225 . + . gene_id "nbis-gene-3"; transcript_id "gene-C7A06_RS00015"; ID "gene-C7A06_RS00015"; Name "recF"; Parent "nbis-gene-3"; gbkey "Gene"; gene "recF"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00015"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 2152 3225 . + . gene_id "nbis-gene-3"; transcript_id "gene-C7A06_RS00015"; Dbxref "Genbank:WP_000060112.1"; ID "nbis-exon-3"; Name "WP_000060112.1"; Ontology_term "GO:0006281" "GO:0003697" "GO:0005524"; Parent "gene-C7A06_RS00015"; gbkey "CDS"; gene "recF"; 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"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 2152 3225 . + 0 gene_id "nbis-gene-3"; transcript_id "gene-C7A06_RS00015"; Dbxref "Genbank:WP_000060112.1"; ID "cds-WP_000060112.1"; Name "WP_000060112.1"; Ontology_term "GO:0006281" "GO:0003697" "GO:0005524"; Parent "gene-C7A06_RS00015"; gbkey "CDS"; gene "recF"; 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"; transl_table "11"; +NZ_CP027599.1 RefSeq gene 3254 5668 . + . gene_id "nbis-gene-4"; ID "nbis-gene-4"; Name "gyrB"; gbkey "Gene"; gene "gyrB"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00020"; +NZ_CP027599.1 RefSeq transcript 3254 5668 . + . gene_id "nbis-gene-4"; transcript_id "gene-C7A06_RS00020"; ID "gene-C7A06_RS00020"; Name "gyrB"; Parent "nbis-gene-4"; gbkey "Gene"; gene "gyrB"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00020"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 3254 5668 . + . gene_id "nbis-gene-4"; transcript_id "gene-C7A06_RS00020"; Dbxref "Genbank:WP_000072067.1"; ID "nbis-exon-4"; Name "WP_000072067.1"; Ontology_term "GO:0006265" "GO:0003918" "GO:0009330"; Parent "gene-C7A06_RS00020"; gbkey "CDS"; gene "gyrB"; go_component "DNA topoisomerase type II (double strand cut, ATP-hydrolyzing) complex|0009330||IEA"; go_function "DNA topoisomerase type II (double strand cut, 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"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 3254 5668 . + 0 gene_id "nbis-gene-4"; transcript_id "gene-C7A06_RS00020"; Dbxref "Genbank:WP_000072067.1"; ID "cds-WP_000072067.1"; Name "WP_000072067.1"; Ontology_term "GO:0006265" "GO:0003918" "GO:0009330"; Parent "gene-C7A06_RS00020"; gbkey "CDS"; gene "gyrB"; go_component "DNA topoisomerase type II (double strand cut, ATP-hydrolyzing) complex|0009330||IEA"; go_function "DNA topoisomerase type II (double strand cut, 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"; transl_table "11"; +NZ_CP027599.1 RefSeq gene 5908 6306 . + . gene_id "nbis-gene-5"; ID "nbis-gene-5"; Name "yidB"; gbkey "Gene"; gene "yidB"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00025"; +NZ_CP027599.1 RefSeq transcript 5908 6306 . + . gene_id "nbis-gene-5"; transcript_id "gene-C7A06_RS00025"; ID "gene-C7A06_RS00025"; Name "yidB"; Parent "nbis-gene-5"; gbkey "Gene"; gene "yidB"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00025"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 5908 6306 . + . gene_id "nbis-gene-5"; transcript_id "gene-C7A06_RS00025"; Dbxref "Genbank:WP_000522208.1"; ID "nbis-exon-5"; Name "WP_000522208.1"; Parent "gene-C7A06_RS00025"; gbkey "CDS"; gene "yidB"; inference "COORDINATES: similar to AA sequence:RefSeq:NP_418153.4"; locus_tag "C7A06_RS00025"; product "YidB family protein"; protein_id "WP_000522208.1"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 5908 6306 . + 0 gene_id "nbis-gene-5"; transcript_id "gene-C7A06_RS00025"; Dbxref "Genbank:WP_000522208.1"; ID "cds-WP_000522208.1"; Name "WP_000522208.1"; Parent "gene-C7A06_RS00025"; gbkey "CDS"; gene "yidB"; inference "COORDINATES: similar to AA sequence:RefSeq:NP_418153.4"; locus_tag "C7A06_RS00025"; product "YidB family protein"; protein_id "WP_000522208.1"; transl_table "11"; +NZ_CP027599.1 RefSeq gene 6421 7233 . + . gene_id "nbis-gene-6"; ID "nbis-gene-6"; Name "yidA"; gbkey "Gene"; gene "yidA"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00030"; +NZ_CP027599.1 RefSeq transcript 6421 7233 . + . gene_id "nbis-gene-6"; transcript_id "gene-C7A06_RS00030"; ID "gene-C7A06_RS00030"; Name "yidA"; Parent "nbis-gene-6"; gbkey "Gene"; gene "yidA"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00030"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 6421 7233 . + . gene_id "nbis-gene-6"; transcript_id "gene-C7A06_RS00030"; Dbxref "Genbank:WP_000985541.1"; ID "nbis-exon-6"; Name "WP_000985541.1"; Ontology_term "GO:0016787"; Parent "gene-C7A06_RS00030"; gbkey "CDS"; gene "yidA"; 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"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 6421 7233 . + 0 gene_id "nbis-gene-6"; transcript_id "gene-C7A06_RS00030"; Dbxref "Genbank:WP_000985541.1"; ID "cds-WP_000985541.1"; Name "WP_000985541.1"; Ontology_term "GO:0016787"; Parent "gene-C7A06_RS00030"; gbkey "CDS"; gene "yidA"; 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"; transl_table "11"; +NZ_CP027599.1 RefSeq gene 7279 7935 . - . gene_id "nbis-gene-7"; ID "nbis-gene-7"; Name "C7A06_RS00035"; gbkey "Gene"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00035"; +NZ_CP027599.1 RefSeq transcript 7279 7935 . - . gene_id "nbis-gene-7"; transcript_id "gene-C7A06_RS00035"; ID "gene-C7A06_RS00035"; Name "C7A06_RS00035"; Parent "nbis-gene-7"; gbkey "Gene"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00035"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 7279 7935 . - . gene_id "nbis-gene-7"; transcript_id "gene-C7A06_RS00035"; Dbxref "Genbank:WP_000772931.1"; ID "nbis-exon-7"; Name "WP_000772931.1"; Parent "gene-C7A06_RS00035"; gbkey "CDS"; inference "COORDINATES: similar to AA sequence:RefSeq:NP_709504.1"; locus_tag "C7A06_RS00035"; product "hypothetical protein"; protein_id "WP_000772931.1"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 7279 7935 . - 0 gene_id "nbis-gene-7"; transcript_id "gene-C7A06_RS00035"; Dbxref "Genbank:WP_000772931.1"; ID "cds-WP_000772931.1"; Name "WP_000772931.1"; Parent "gene-C7A06_RS00035"; gbkey "CDS"; inference "COORDINATES: similar to AA sequence:RefSeq:NP_709504.1"; locus_tag "C7A06_RS00035"; product "hypothetical protein"; protein_id "WP_000772931.1"; transl_table "11"; +NZ_CP027599.1 RefSeq gene 8213 8902 . + . gene_id "nbis-gene-8"; ID "nbis-gene-8"; Name "dgoR"; gbkey "Gene"; gene "dgoR"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00040"; +NZ_CP027599.1 RefSeq transcript 8213 8902 . + . gene_id "nbis-gene-8"; transcript_id "gene-C7A06_RS00040"; ID "gene-C7A06_RS00040"; Name "dgoR"; Parent "nbis-gene-8"; gbkey "Gene"; gene "dgoR"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00040"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 8213 8902 . + . gene_id "nbis-gene-8"; transcript_id "gene-C7A06_RS00040"; Dbxref "Genbank:WP_000174305.1"; ID "nbis-exon-8"; Name "WP_000174305.1"; Parent "gene-C7A06_RS00040"; gbkey "CDS"; gene "dgoR"; 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"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 8213 8902 . + 0 gene_id "nbis-gene-8"; transcript_id "gene-C7A06_RS00040"; Dbxref "Genbank:WP_000174305.1"; ID "cds-WP_000174305.1"; Name "WP_000174305.1"; Parent "gene-C7A06_RS00040"; gbkey "CDS"; gene "dgoR"; 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"; transl_table "11"; +NZ_CP027599.1 RefSeq gene 8899 9777 . + . gene_id "nbis-gene-9"; ID "nbis-gene-9"; Name "dgoK"; gbkey "Gene"; gene "dgoK"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00045"; +NZ_CP027599.1 RefSeq transcript 8899 9777 . + . gene_id "nbis-gene-9"; transcript_id "gene-C7A06_RS00045"; ID "gene-C7A06_RS00045"; Name "dgoK"; Parent "nbis-gene-9"; gbkey "Gene"; gene "dgoK"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00045"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 8899 9777 . + . gene_id "nbis-gene-9"; transcript_id "gene-C7A06_RS00045"; Dbxref "Genbank:WP_000127112.1"; ID "nbis-exon-9"; Name "WP_000127112.1"; Parent "gene-C7A06_RS00045"; gbkey "CDS"; gene "dgoK"; inference "COORDINATES: similar to AA sequence:RefSeq:NP_709506.1"; locus_tag "C7A06_RS00045"; product "2-dehydro-3-deoxygalactonokinase"; protein_id "WP_000127112.1"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 8899 9777 . + 0 gene_id "nbis-gene-9"; transcript_id "gene-C7A06_RS00045"; Dbxref "Genbank:WP_000127112.1"; ID "cds-WP_000127112.1"; Name "WP_000127112.1"; Parent "gene-C7A06_RS00045"; gbkey "CDS"; gene "dgoK"; inference "COORDINATES: similar to AA sequence:RefSeq:NP_709506.1"; locus_tag "C7A06_RS00045"; product "2-dehydro-3-deoxygalactonokinase"; protein_id "WP_000127112.1"; transl_table "11"; +NZ_CP027599.1 RefSeq gene 9761 10378 . + . gene_id "nbis-gene-10"; ID "nbis-gene-10"; Name "dgoA"; gbkey "Gene"; gene "dgoA"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00050"; +NZ_CP027599.1 RefSeq transcript 9761 10378 . + . gene_id "nbis-gene-10"; transcript_id "gene-C7A06_RS00050"; ID "gene-C7A06_RS00050"; Name "dgoA"; Parent "nbis-gene-10"; gbkey "Gene"; gene "dgoA"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00050"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 9761 10378 . + . gene_id "nbis-gene-10"; transcript_id "gene-C7A06_RS00050"; Dbxref "Genbank:WP_001198699.1"; ID "nbis-exon-10"; Name "WP_001198699.1"; Parent "gene-C7A06_RS00050"; gbkey "CDS"; gene "dgoA"; inference "COORDINATES: similar to AA sequence:RefSeq:YP_026238.1"; locus_tag "C7A06_RS00050"; product "2-dehydro-3-deoxy-6-phosphogalactonate aldolase"; protein_id "WP_001198699.1"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 9761 10378 . + 0 gene_id "nbis-gene-10"; transcript_id "gene-C7A06_RS00050"; Dbxref "Genbank:WP_001198699.1"; ID "cds-WP_001198699.1"; Name "WP_001198699.1"; Parent "gene-C7A06_RS00050"; gbkey "CDS"; gene "dgoA"; inference "COORDINATES: similar to AA sequence:RefSeq:YP_026238.1"; locus_tag "C7A06_RS00050"; product "2-dehydro-3-deoxy-6-phosphogalactonate aldolase"; protein_id "WP_001198699.1"; transl_table "11"; +NZ_CP027599.1 RefSeq gene 10375 11523 . + . gene_id "nbis-gene-11"; ID "nbis-gene-11"; Name "dgoD"; gbkey "Gene"; gene "dgoD"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00055"; +NZ_CP027599.1 RefSeq transcript 10375 11523 . + . gene_id "nbis-gene-11"; transcript_id "gene-C7A06_RS00055"; ID "gene-C7A06_RS00055"; Name "dgoD"; Parent "nbis-gene-11"; gbkey "Gene"; gene "dgoD"; gene_biotype "protein_coding"; locus_tag "C7A06_RS00055"; original_biotype "mrna"; +NZ_CP027599.1 Protein Homology exon 10375 11523 . + . gene_id "nbis-gene-11"; transcript_id "gene-C7A06_RS00055"; Dbxref "Genbank:WP_000705001.1"; ID "nbis-exon-11"; Name "WP_000705001.1"; Ontology_term "GO:0009063" "GO:0008869"; Parent "gene-C7A06_RS00055"; gbkey "CDS"; gene "dgoD"; go_function "galactonate dehydratase activity|0008869||IEA"; go_process "cellular amino acid catabolic process|0009063||IEA"; inference "COORDINATES: similar to AA sequence:RefSeq:WP_020077623.1"; locus_tag "C7A06_RS00055"; product "galactonate dehydratase"; protein_id "WP_000705001.1"; transl_table "11"; +NZ_CP027599.1 Protein Homology CDS 10375 11523 . + 0 gene_id "nbis-gene-11"; transcript_id "gene-C7A06_RS00055"; Dbxref "Genbank:WP_000705001.1"; ID "cds-WP_000705001.1"; Name "WP_000705001.1"; Ontology_term "GO:0009063" "GO:0008869"; Parent "gene-C7A06_RS00055"; gbkey "CDS"; gene "dgoD"; go_function "galactonate dehydratase activity|0008869||IEA"; go_process "cellular amino acid catabolic process|0009063||IEA"; inference "COORDINATES: similar to AA sequence:RefSeq:WP_020077623.1"; locus_tag "C7A06_RS00055"; product "galactonate dehydratase"; protein_id "WP_000705001.1"; transl_table "11";
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test15.gff Fri Jul 26 15:21:48 2024 +0000 @@ -0,0 +1,50 @@ +##gff-version 3 +##gtf-version 3 +#!gff-spec-version 1.21 +#!processor NCBI annotwriter +#!genome-build ASM301845v1 +#!genome-build-accession NCBI_Assembly:GCF_003018455.1 +#!annotation-date 05/25/2022 04:54:31 +#!annotation-source NCBI RefSeq +##sequence-region NZ_CP027599.1 1 5942969 +##species https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=562 +NZ_CP027599.1 RefSeq gene 1052 2152 . + . ID=nbis-gene-2;Name=dnaN;gbkey=Gene;gene=dnaN;gene_biotype=protein_coding;gene_id=nbis-gene-2;locus_tag=C7A06_RS00010 +NZ_CP027599.1 RefSeq transcript 1052 2152 . + . ID=gene-C7A06_RS00010;Parent=nbis-gene-2;Name=dnaN;gbkey=Gene;gene=dnaN;gene_biotype=protein_coding;gene_id=nbis-gene-2;locus_tag=C7A06_RS00010;original_biotype=mrna;transcript_id=gene-C7A06_RS00010 +NZ_CP027599.1 Protein Homology exon 1052 2152 . + . ID=nbis-exon-2;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 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-3;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 transcript 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;original_biotype=mrna;transcript_id=gene-C7A06_RS00020 +NZ_CP027599.1 Protein Homology exon 3254 5668 . + . ID=nbis-exon-4;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 +NZ_CP027599.1 Protein Homology exon 5908 6306 . + . ID=nbis-exon-5;Parent=gene-C7A06_RS00025;Dbxref=Genbank:WP_000522208.1;Name=WP_000522208.1;gbkey=CDS;gene=yidB;gene_id=nbis-gene-5;inference=COORDINATES: similar to AA sequence:RefSeq:NP_418153.4;locus_tag=C7A06_RS00025;product=YidB family protein;protein_id=WP_000522208.1;transcript_id=gene-C7A06_RS00025;transl_table=11 +NZ_CP027599.1 Protein Homology CDS 5908 6306 . + 0 ID=cds-WP_000522208.1;Parent=gene-C7A06_RS00025;Dbxref=Genbank:WP_000522208.1;Name=WP_000522208.1;gbkey=CDS;gene=yidB;gene_id=nbis-gene-5;inference=COORDINATES: similar to AA sequence:RefSeq:NP_418153.4;locus_tag=C7A06_RS00025;product=YidB family protein;protein_id=WP_000522208.1;transcript_id=gene-C7A06_RS00025;transl_table=11 +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 Protein Homology CDS 6421 7233 . + 0 ID=cds-WP_000985541.1;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 +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 +NZ_CP027599.1 RefSeq gene 8213 8902 . + . ID=nbis-gene-8;Name=dgoR;gbkey=Gene;gene=dgoR;gene_biotype=protein_coding;gene_id=nbis-gene-8;locus_tag=C7A06_RS00040 +NZ_CP027599.1 RefSeq transcript 8213 8902 . + . ID=gene-C7A06_RS00040;Parent=nbis-gene-8;Name=dgoR;gbkey=Gene;gene=dgoR;gene_biotype=protein_coding;gene_id=nbis-gene-8;locus_tag=C7A06_RS00040;original_biotype=mrna;transcript_id=gene-C7A06_RS00040 +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 transcript 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;original_biotype=mrna;transcript_id=gene-C7A06_RS00045 +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 +NZ_CP027599.1 RefSeq transcript 9761 10378 . + . ID=gene-C7A06_RS00050;Parent=nbis-gene-10;Name=dgoA;gbkey=Gene;gene=dgoA;gene_biotype=protein_coding;gene_id=nbis-gene-10;locus_tag=C7A06_RS00050;original_biotype=mrna;transcript_id=gene-C7A06_RS00050 +NZ_CP027599.1 Protein Homology exon 9761 10378 . + . ID=nbis-exon-10;Parent=gene-C7A06_RS00050;Dbxref=Genbank:WP_001198699.1;Name=WP_001198699.1;gbkey=CDS;gene=dgoA;gene_id=nbis-gene-10;inference=COORDINATES: similar to AA sequence:RefSeq:YP_026238.1;locus_tag=C7A06_RS00050;product=2-dehydro-3-deoxy-6-phosphogalactonate aldolase;protein_id=WP_001198699.1;transcript_id=gene-C7A06_RS00050;transl_table=11 +NZ_CP027599.1 Protein Homology CDS 9761 10378 . + 0 ID=cds-WP_001198699.1;Parent=gene-C7A06_RS00050;Dbxref=Genbank:WP_001198699.1;Name=WP_001198699.1;gbkey=CDS;gene=dgoA;gene_id=nbis-gene-10;inference=COORDINATES: similar to AA sequence:RefSeq:YP_026238.1;locus_tag=C7A06_RS00050;product=2-dehydro-3-deoxy-6-phosphogalactonate aldolase;protein_id=WP_001198699.1;transcript_id=gene-C7A06_RS00050;transl_table=11 +NZ_CP027599.1 RefSeq gene 10375 11523 . + . ID=nbis-gene-11;Name=dgoD;gbkey=Gene;gene=dgoD;gene_biotype=protein_coding;gene_id=nbis-gene-11;locus_tag=C7A06_RS00055 +NZ_CP027599.1 RefSeq transcript 10375 11523 . + . ID=gene-C7A06_RS00055;Parent=nbis-gene-11;Name=dgoD;gbkey=Gene;gene=dgoD;gene_biotype=protein_coding;gene_id=nbis-gene-11;locus_tag=C7A06_RS00055;original_biotype=mrna;transcript_id=gene-C7A06_RS00055 +NZ_CP027599.1 Protein Homology exon 10375 11523 . + . ID=nbis-exon-11;Parent=gene-C7A06_RS00055;Dbxref=Genbank:WP_000705001.1;Name=WP_000705001.1;Ontology_term=GO:0009063,GO:0008869;gbkey=CDS;gene=dgoD;gene_id=nbis-gene-11;go_function=galactonate dehydratase activity|0008869||IEA;go_process=cellular amino acid catabolic process|0009063||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:WP_020077623.1;locus_tag=C7A06_RS00055;product=galactonate dehydratase;protein_id=WP_000705001.1;transcript_id=gene-C7A06_RS00055;transl_table=11 +NZ_CP027599.1 Protein Homology CDS 10375 11523 . + 0 ID=cds-WP_000705001.1;Parent=gene-C7A06_RS00055;Dbxref=Genbank:WP_000705001.1;Name=WP_000705001.1;Ontology_term=GO:0009063,GO:0008869;gbkey=CDS;gene=dgoD;gene_id=nbis-gene-11;go_function=galactonate dehydratase activity|0008869||IEA;go_process=cellular amino acid catabolic process|0009063||IEA;inference=COORDINATES: similar to AA sequence:RefSeq:WP_020077623.1;locus_tag=C7A06_RS00055;product=galactonate dehydratase;protein_id=WP_000705001.1;transcript_id=gene-C7A06_RS00055;transl_table=11