Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 committed Jan 10, 2024
1 parent 7392147 commit 73b3d74
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions t/scripts_output.t
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,15 @@ system(" $script --gff $input_folder/agat_sp_merge_annotations/fileA.gff --gff
ok( system("diff $result $outtmp") == 0, "output $script");
unlink $outtmp;

# ------------------- check agat_sp_move_attributes_within_records script-------------------

$script = $script_prefix."bin/agat_sp_move_attributes_within_records.pl";
$result = "$output_folder/agat_sp_move_attributes_within_records.gff";
system(" $script --gff $input_folder/agat_sp_move_attributes_within_records.gff --fp exon,CDS --fc mRNA -o $outtmp 2>&1 1>/dev/null");
#run test
ok( system("diff $result $outtmp") == 0, "output $script");
unlink $outtmp;

# ------------------- check agat_sp_prokka_fragmented_gene_annotations script-------------------

$script = $script_prefix."bin/agat_sp_prokka_fix_fragmented_gene_annotations.pl";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ptg000002l AUGUSTUS mRNA 3255 4626 0.5 + . ID=NBISM00000000001;Parent=NBISG00000000001;Dbxref=CDD:cd07067,Gene3D:G3DSA:3.40.50.1240,InterPro:IPR013078,InterPro:IPR029033,;Name=ARB_03491;Ontology_term=-;makerName=g1.t1;product=Probable phosphoglycerate mutase ARB_03491;uniprot_id=D4B4V1
ptg000002l AUGUSTUS CDS 3255 3275 0.98 + 0 ID=NBISC00000000001;Parent=NBISM00000000001;makerName=g1.t1.CDS1

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
##gff-version 3
ptg000002l AGAT gene 3255 4626 . + . ID=NBISG00000000001;Dbxref=CDD:cd07067,Gene3D:G3DSA:3.40.50.1240,InterPro:IPR013078,InterPro:IPR029033;Name=ARB_03491;Ontology_term=-;makerName=g1.t1;product=Probable phosphoglycerate mutase ARB_03491;uniprot_id=D4B4V1
ptg000002l AUGUSTUS mRNA 3255 4626 0.5 + . ID=NBISM00000000001;Parent=NBISG00000000001;Dbxref=CDD:cd07067,Gene3D:G3DSA:3.40.50.1240,InterPro:IPR013078,InterPro:IPR029033;Name=ARB_03491;Ontology_term=-;makerName=g1.t1;product=Probable phosphoglycerate mutase ARB_03491;uniprot_id=D4B4V1
ptg000002l AGAT exon 3255 4626 . + . ID=agat-exon-1;Parent=NBISM00000000001;Dbxref=CDD:cd07067,Gene3D:G3DSA:3.40.50.1240,InterPro:IPR013078,InterPro:IPR029033;Name=ARB_03491;Ontology_term=-;makerName=g1.t1.CDS1,g1.t1;product=Probable phosphoglycerate mutase ARB_03491;uniprot_id=D4B4V1
ptg000002l AUGUSTUS CDS 3255 3275 0.98 + 0 ID=NBISC00000000001;Parent=NBISM00000000001;Dbxref=CDD:cd07067,Gene3D:G3DSA:3.40.50.1240,InterPro:IPR013078,InterPro:IPR029033;Name=ARB_03491;Ontology_term=-;makerName=g1.t1.CDS1,g1.t1;product=Probable phosphoglycerate mutase ARB_03491;uniprot_id=D4B4V1
ptg000002l AGAT three_prime_UTR 3276 4626 . + . ID=agat-three_prime_utr-1;Parent=NBISM00000000001;makerName=g1.t1.CDS1

0 comments on commit 73b3d74

Please sign in to comment.