Powers read_seqs()
, read_feats()
, read_links()
Arguments
- files
files to reads. Should all be of same format. In many cases, compressed files (
.gz
,.bz2
,.xz
, or.zip
) are supported. Similarly, automatic download of remote files starting withhttp(s)://
orftp(s)://
works in most cases.- context
the context ("seqs", "feats", "links") in which a given format should be read.
- .id
the column with the name of the file a record was read from. Defaults to "file_id". Set to "bin_id" if every file represents a different bin.
- format
specify a format known to gggenomes, such as
gff3
,gbk
, ... to overwrite automatic determination based on the file extension (seedef_formats()
for full list).- parser
specify the name of an R function to overwrite automatic determination based on format, e.g.
parser="read_tsv"
.- ...
additional arguments passed on to the format-specific read function called down the line.