~ubuntu-branches/ubuntu/quantal/genometools/quantal-backports

« back to all changes in this revision

Viewing changes to debian/man/gt-extractfeat.1

  • Committer: Package Import Robot
  • Author(s): Sascha Steinbiss
  • Date: 2012-07-09 14:10:23 UTC
  • Revision ID: package-import@ubuntu.com-20120709141023-7nomj0v4le7izeju
Tags: 1.4.1-1
* Initial release (Closes: #657923)
* the GFF3 parser now handles children which are defined before their parents
* many small improvements to the GFF3 parser

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\"     Title: gt-extractfeat
 
3
.\"    Author: [see the "AUTHOR" section]
 
4
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
 
5
.\"      Date: 07/11/2012
 
6
.\"    Manual: \ \&
 
7
.\"    Source: \ \&
 
8
.\"  Language: English
 
9
.\"
 
10
.TH "GT\-EXTRACTFEAT" "1" "07/11/2012" "\ \&" "\ \&"
 
11
.\" -----------------------------------------------------------------
 
12
.\" * Define some portability stuff
 
13
.\" -----------------------------------------------------------------
 
14
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
15
.\" http://bugs.debian.org/507673
 
16
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
 
17
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
18
.ie \n(.g .ds Aq \(aq
 
19
.el       .ds Aq '
 
20
.\" -----------------------------------------------------------------
 
21
.\" * set default formatting
 
22
.\" -----------------------------------------------------------------
 
23
.\" disable hyphenation
 
24
.nh
 
25
.\" disable justification (adjust text to left margin only)
 
26
.ad l
 
27
.\" -----------------------------------------------------------------
 
28
.\" * MAIN CONTENT STARTS HERE *
 
29
.\" -----------------------------------------------------------------
 
30
.SH "NAME"
 
31
gt-extractfeat \- Extract features given in GFF3 file from sequence file\&.
 
32
.SH "SYNOPSIS"
 
33
.sp
 
34
gt extractfeat [option \&...] [GFF3_file]
 
35
.SH "OPTIONS"
 
36
.PP
 
37
\fB\-type\fR
 
38
.RS 4
 
39
set type of features to extract (default: undefined)
 
40
.RE
 
41
.PP
 
42
\fB\-join\fR
 
43
.RS 4
 
44
join feature sequences in the same subgraph into a single one (default: no)
 
45
.RE
 
46
.PP
 
47
\fB\-translate\fR
 
48
.RS 4
 
49
translate the features (of a DNA sequence) into protein (default: no)
 
50
.RE
 
51
.PP
 
52
\fB\-seqid\fR
 
53
.RS 4
 
54
add sequence ID of extracted features to FASTA descriptions (default: no)
 
55
.RE
 
56
.PP
 
57
\fB\-target\fR
 
58
.RS 4
 
59
add target ID(s) of extracted features to FASTA descriptions (default: no)
 
60
.RE
 
61
.PP
 
62
\fB\-seqfile\fR
 
63
.RS 4
 
64
set the sequence file from which to extract the features (default: undefined)
 
65
.RE
 
66
.PP
 
67
\fB\-seqfiles\fR
 
68
.RS 4
 
69
set the sequence files from which to extract the features use
 
70
\fI\-\-\fR
 
71
to terminate the list of sequence files
 
72
.RE
 
73
.PP
 
74
\fB\-matchdesc\fR
 
75
.RS 4
 
76
match the sequence descriptions from the input files for the desired sequence IDs (in GFF3) (default: no)
 
77
.RE
 
78
.PP
 
79
\fB\-usedesc\fR
 
80
.RS 4
 
81
use sequence descriptions to map the sequence IDs (in GFF3) to actual sequence entries\&. If a description contains a sequence range (e\&.g\&., III:1000001\&.\&.2000000), the first part is used as sequence ID (\fIIII\fR) and the first range position as offset (\fI1000001\fR) (default: no)
 
82
.RE
 
83
.PP
 
84
\fB\-regionmapping\fR
 
85
.RS 4
 
86
set file containing sequence\-region to sequence file mapping (default: undefined)
 
87
.RE
 
88
.PP
 
89
\fB\-v\fR
 
90
.RS 4
 
91
be verbose (default: no)
 
92
.RE
 
93
.PP
 
94
\fB\-width\fR
 
95
.RS 4
 
96
set output width for FASTA sequence printing (0 disables formatting) (default: 0)
 
97
.RE
 
98
.PP
 
99
\fB\-o\fR
 
100
.RS 4
 
101
redirect output to specified file (default: undefined)
 
102
.RE
 
103
.PP
 
104
\fB\-gzip\fR
 
105
.RS 4
 
106
write gzip compressed output file (default: no)
 
107
.RE
 
108
.PP
 
109
\fB\-bzip2\fR
 
110
.RS 4
 
111
write bzip2 compressed output file (default: no)
 
112
.RE
 
113
.PP
 
114
\fB\-force\fR
 
115
.RS 4
 
116
force writing to output file (default: no)
 
117
.RE
 
118
.PP
 
119
\fB\-help\fR
 
120
.RS 4
 
121
display help and exit
 
122
.RE
 
123
.PP
 
124
\fB\-version\fR
 
125
.RS 4
 
126
display version information and exit
 
127
.RE
 
128
.SH "DESCRIPTION"
 
129
.sp
 
130
File format for option \-regionmapping:
 
131
.sp
 
132
The file supplied to option \-regionmapping defines a \(lqmapping\(rq\&. A mapping maps the sequence\-regions given in the GFF3_file to a sequence file containing the corresponding sequence\&. Mappings can be defined in one of the following two forms:
 
133
.sp
 
134
mapping = { chr1 = "hs_ref_chr1\&.fa\&.gz", chr2 = "hs_ref_chr2\&.fa\&.gz" }
 
135
.sp
 
136
or
 
137
.sp
 
138
function mapping(sequence_region) return "hs_ref_"\&.\&.sequence_region\&.\&."\&.fa\&.gz" end
 
139
.sp
 
140
The first form defines a Lua (http://www\&.lua\&.org/) table named \(lqmapping\(rq which maps each sequence region to the corresponding sequence file\&. The second one defines a Lua function \(lqmapping\(rq, which has to return the sequence file name when it is called with the sequence_region as argument\&.
 
141
.SH "AUTHOR"
 
142
.sp
 
143
Report bugs to <gt\-users@genometools\&.org>\&.