Write Genbank file

write_genbank(x, fpath)

Arguments

x

x

fpath

A genbank file path.

Examples

(temp <- dstr_rand_seq(1, 100, seed = 1))
#> class: dstr,bstr,character #> number of sequences: 1 #> [1] no name 1 : CCGTATTGGAAAGCTCGT....CCTAGAAAAAGTTTCCTG 100
write_genbank(temp)
#> LOCUS no name 1 100 bp ds-DNA linear 2020-Jan-21 #> DEFINITION . #> ACCESSION #> VERSION #> SOURCE . #> ORGANISM . #> COMMENT >no name 1 #> ORIGIN #> 1 CCGTATTGGA AAGCTCGTCT TAGACCACTC CGCATGTAGC TGTGGTACGG CTCAAACGGC #> 71 CTCCCTTCTT CGCCTAGAAA AAGTTTCCTG #> //