powered by
Write a gff3 file from a tidy table
write_gff3( feats, file, seqs = NULL, type = NULL, source = ".", score = ".", strand = ".", phase = ".", id_var = "feat_id", parent_var = "parent_ids", head = "##gff-version 3", ignore_attr = c("introns", "geom_id") )
No return value, writes to file
tidy feat table
name of output file
a tidy sequence table to generate optional ##sequence-region directives in the header
##sequence-region
if no type column exists, use this as the default type
if no source column exists, use this as the default source
if no score column exists, use this as the default score
if no strand column exists, use this as the default strand
if no phase column exists, use this as the default phase
the name of the column to use as the GFF3 ID tag
ID
the name of the column to use as GFF3 Parent tag
Parent
additional information to add to the header section
attributes not to be included in GFF3 tag list. Defaults to internals: introns, geom_id
introns, geom_id
filename <- tempfile(fileext = ".gff") write_gff3(emale_genes, filename, emale_seqs, id_var = "feat_id")
Run the code above in your browser using DataLab