.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "BP_GENBANK2GFF 1p" .TH BP_GENBANK2GFF 1p "2020-01-13" "perl v5.30.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" bp_genbank2gff.pl \- Load a Bio::DB::GFF database from GENBANK files. .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 3 \& % bp_genbank2gff.pl \-d genbank \-f localfile.gb \& % bp_genbank2gff.pl \-d genbank \-\-accession AP003256 \& % bp_genbank2gff.pl \-\-accession AP003256 \-\-stdout .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" This script loads a Bio::DB::GFF database with the features contained in a either a local genbank file or an accession that is fetched from genbank. Various command-line options allow you to control which database to load and whether to allow an existing database to be overwritten. .PP The database must already have been created and the current user must have appropriate \s-1INSERT\s0 and \s-1UPDATE\s0 privileges. The \-\-create option will initialize a new database with the appropriate schema, deleting any tables that were already there. .SH "COMMAND-LINE OPTIONS" .IX Header "COMMAND-LINE OPTIONS" Command-line options can be abbreviated to single-letter options. e.g. \-d instead of \-\-database. .PP .Vb 10 \& \-\-create Force creation and initialization of database \& \-\-dsn Data source (default dbi:mysql:test) \& \-\-user Username for mysql authentication \& \-\-pass Password for mysql authentication \& \-\-proxy Proxy server to use for remote access \& \-\-stdout direct output to STDOUT \& \-\-adaptor adaptor to use (eg dbi::mysql, dbi::pg, dbi::oracle) \-\-viral the genome you are loading is viral (changes tag \& choices) \& \-\-source source field for features [\*(Aqgenbank\*(Aq] \& EITHER \-\-file Arguments that follow are Genbank/EMBL file names \& OR \-\-gb_folder What follows is a folder full of gb files to process OR \-\-accession Arguments that follow are genbank accession numbers \& (not gi!) \& OR \-\-acc_file Accession numbers (not gi!) in a file (one per line, no punc.) \& OR \-\-acc_pipe Accession numbers (not gi!) from a STDIN pipe (one \& per line) .Ve .SH "SEE ALSO" .IX Header "SEE ALSO" Bio::DB::GFF, bulk_load_gff.pl, load_gff.pl .SH "AUTHOR" .IX Header "AUTHOR" Scott Cain, cain@cshl.org .PP Copyright (c) 2003 Cold Spring Harbor Laboratory .PP This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See \s-1DISCLAIMER\s0.txt for disclaimers of warranty.