#Have to do this outside of the HERETO thanks to tabs
$expected.=join("\t",
$expected.=join("\t",
qw/wibble . region 1 10 . + ./,
''
''
);
$expected.="\n";
assert_gff3($feature,$expected,'Default feature should seralise without attributes but leave a trailing \t');
assert_gff3($feature,$expected,'Default feature should serialise without attributes but leave a trailing \t');
}
...
...
@@ -121,8 +86,8 @@ OUT
##sequence-region 20 30274334 30300924
OUT
#Have to do this outside of the HERETO thanks to tabs
$expected.=join("\t",
qw/20 wibble region 30274334 30300924 . + ./,
$expected.=join("\t",
qw/20 wibble gene 30274334 30300924 . + ./,
'ID=gene:ENSG00000131044;Name=C20orf125;biotype=protein_coding;description=DJ310O13.1.2 (NOVEL PROTEIN SIMILAR DROSOPHILA PROTEIN CG7474%2C ISOFORM 2 ) (FRAGMENT). [Source:SPTREMBL%3BAcc:Q9BR18];gene_id=ENSG00000131044;logic_name=ensembl;projection_parent_gene=ENSG_PARENT_GENE;version=1'
#Have to do this outside of the HERETO thanks to tabs
$expected.=join("\t",
qw/20 ensembl region 30274334 30300924 . + ./,
$expected.=join("\t",
qw/20 ensembl gene 30274334 30300924 . + ./,
'ID=gene:ENSG00000131044;Name=C20orf125;Dbxref=bibble,fibble;Ontology_term=GO:0001612;biotype=protein_coding;description=DJ310O13.1.2 (NOVEL PROTEIN SIMILAR DROSOPHILA PROTEIN CG7474%2C ISOFORM 2 ) (FRAGMENT). [Source:SPTREMBL%3BAcc:Q9BR18];gene_id=ENSG00000131044;logic_name=ensembl;projection_parent_gene=ENSG_PARENT_GENE;version=1'
);
$expected.="\n";
...
...
@@ -214,21 +179,37 @@ OUT
assert_gff3($gene,$expected,'Gene with array- and string-valued attributes as expected.');