Skip to contents

Function to take a GenBank feature table generated by MitoPilot and convert it to GFF3 format, one GFF file per sample. Could be useful for generating GFF files to review in Geneious after manually editing the feature table in a text editor.

Usage

tbl_to_gff3(tbl = NULL, assembly_lengths = NULL, out = NULL)

Arguments

tbl

Full path to GenBank feature table

assembly_lengths

Two column tab-delimited file with no headers, first column sample ID (must match IDs in feature table), second column mitogenome length (in bp)

out

Output directory for GFF files, will be created if it does not exist

Details

NOTE: this function has only been tested with GenBank feature tables produced by MitoPilot. It likely will not work for a feature table downloaded directly from GenBank.