.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32)
.\"
.\" 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
..
.if !\nF .nr F 0
.if \nF>0 \{\
.    de IX
.    tm Index:\\$1\t\\n%\t"\\$2"
..
.    if !\nF==2 \{\
.        nr % 0
.        nr F 2
.    \}
.\}
.\" ========================================================================
.\"
.IX Title "GMOD_MAKE_GFF_FROM_DBXREF 1p"
.TH GMOD_MAKE_GFF_FROM_DBXREF 1p "2016-12-17" "perl v5.24.1" "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"
gmod_make_gff_from_dbxref.pl \- a tool for creating a gff3 file given
a list of dbxrefs and fasta files.
.SH "SYNOPSYS"
.IX Header "SYNOPSYS"
.Vb 2
\& % gmod_make_gff_from_dbxref.pl \-\-fasta_dir <directory> \-\-tmp_dir <directory> \e
\&                                <dbxref_list
.Ve
.SH "COMMAND-LINE OPTIONS"
.IX Header "COMMAND-LINE OPTIONS"
.Vb 4
\&  \-\-fasta_dir          Directory containing fasta files (required)
\&  \-\-tmp_dir            Temporary directory (default: /tmp)
\&  \-\-type               SO term to use for created features (default: region)
\&  \-\-source             Column 2 of the GFF file (default: .)
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
This tool takes a list of tab separated db identifiers and accessions on
the command line (like gmod_extract_dbxref_from_gff.pl would produce)
along with a directory containing fasta files and creates a \s-1GFF\s0 file.
The script tries several options for identifying the accession in the
fasta description line.  These are the types of things it currently
tries:
.IP ">mi|5419616|mn|TC130707|" 4
.IX Item ">mi|5419616|mn|TC130707|"
to get \s-1TC130707\s0
.IP ">gi|34072055|gb|CG180994.1|CG180994" 4
.IX Item ">gi|34072055|gb|CG180994.1|CG180994"
to get \s-1CG180994.1\s0
.IP ">mi|12821100|mn|2_11498(1330441)|" 4
.IX Item ">mi|12821100|mn|2_11498(1330441)|"
to get 2_11498.
.IP ">123456" 4
.IX Item ">123456"
to get 123456 (ie, the entire line, which is the last resort).
.PP
If you have a description line that is different from this and would like
help modifying this script to work with your data, please email the 
schema mailing list: gmod\-schema@lists.sourceforge.net.  If you modify the
script yourself to work with your data, please also mail the schema mailing
list to report your changes so they can be included.
.SH "AUTHOR"
.IX Header "AUTHOR"
Scott Cain <cain@cshl.edu>.
.PP
Copyright (c) 2007,2008
.PP
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
