GFF2APLOT(1)
β¨ GFF2APLOT(1) β¨ β the manual, but make it cute
okay so bestie, this is the manual page for gff2aplot, and it lives in section 1 of the General Commands Manual. Yes it's a real grown-up manpage, but we're doing this my way. Buckle up, hydrate, and let's get into it π«Ά
πΈ NAME πΈ
gff2aplot β converting GFF files for pairwise alignments to PostScript.
like. that's the whole job description. it takes your GFF files, it makes PostScript. iconic behavior honestly π
π¦ SYNOPSIS π¦
gff2aplot [options] <GFF_files|STDIN>
π DESCRIPTION π
This manual page documents briefly the gff2aplot command. (yes, briefly. it said what it said.)
gff2aplot is a program that draws color-filled alignment plots from GFF files for that alignment and two sequences annotations. so it's literally a glow-up machine for your alignment data. it draws, it colors, it fills, it serves π
π OPTIONS π
A double dash on itself -- signals end of the options and start of file names (if present). You can use a single dash - as a STDIN placeholder. Available options and a short description are listed here:
-h,--helpβ show summary of options. your little cheat sheet bestie.--versionβ shows current version and exits. bye π-v,--verboseβ verbose mode: a full report is sent to standard error (the default is set to showing only WARNINGS). so it's chatty. main character energy.-V,--logs-filename <filename>β report is written to a log file.-q,--quietβ quiet mode, do not show any message/warning to standard error (reporting only ERRORS). it said π€-p,--page-size <format_name>β setting a page size among pre-defined ones (see below for a list of available page formats).--margin-left <length>β sets the left page margin.--margin-right <length>β sets the right page margin.--margin-top <length>β sets the top page margin.--margin-bottom <length>β sets the bottom page margin.-B,--background-color <color>β background color.-F,--foreground-color <color>β foreground color.-T,--title <string>β definning plot title. (their spelling, not mine, keeping it fr fr)-t,--subtitle <string>β definning plot subtitle.-X,--x-label <string>β defining X-axis label.-Y,--y-label <Y-Label>β defining Y-axis label.-L,--percent-box-label <string>β defining percent-box label.-l,--extra-box-label <XBox-Label>β definning Extra-Box Label.-x,--x-sequence-coords <pos..pos>β X-sequence coords, in<pos..pos>form.-S,--start-x-sequence <pos>β sets X-sequence first nucleotide.-E,--end-x-sequence <pos>β sets X-sequence last nucleotide.-y,---y-sequence-coords <pos..pos>β Y-sequence coords, in<pos..pos>form. > β οΈ heads up bestie: that's three dashes in---y-sequence-coords. not a typo on my end, it's literally what the page says. copy it exactly or it will simply not slay.-s,--start-y-sequence <pos>β sets Y-sequence first nucleotide.-e,--end-y-sequence <pos>β sets Y-sequence last nucleotide.--x-sequence-zoom <pos..pos>β zoom coords for the X sequence.--y-sequence-zoom <pos..pos>β zoom coords for the Y sequence.-Z,--zoom [ [-S <pos>] [-E <pos>] [-s <pos>] [-e <pos>] ]β this option zooms an area you have selected with-S,-E,-s,-e(all 4 are optional).-z,--zoom-area [ [-S <pos>] [-E <pos>] [-s <pos>] [-e <pos>] ]β this option marks a zoom area on your plot, but does not make a zoom. it's giving "preview only", no actual follow-through π-A,--alignment-name <SeqXName:SeqYName>β defining which alignment is going to be plotted if you have more than one alignment in your gff input.-N,--x-sequence-name <SeqXName>β defining which sequence is going to be plotted at X-axis.-n,--y-sequence-name <SeqYName>β defining which sequence is going to be plotted at Y-axis.-r,--aplot-xy-noteqβ by default X and Y axes have same length; this option disables such behaviour, so X and Y sequence will have axes-lengths proportional to their nucleotide lengths.-R,--xy-axes-scale <X/Y ratio>β this option allows one to set a different scale between X and Y axes lengths (by default is'1'). Below 1 values make Y larger than X, and larger than 1 result in getting X larger than Y. # Must be explained better.-W,--aln-scale-widthβ scaling score on width for Aplot lines.-w,--aln-scale-colorβ scaling score on color for Aplot lines.-K,--show-ribbons <ribbon_type>β force Ribbons for all features on axes to be: (N)one, (L)ines, (R)ibbons, (B)oth.-G,--show-gridβ switches'on'grid (default is'off').-g,--hide-gridβ switches'off'grid (if switched on from customization files).-I,--show-percent-boxβ switches'on'Percent box (default is'off').-i,--hide-percent-boxβ switches'off'Percent box (if set to'on'on custom files).-O,--show-extra-boxβ switches'on'Extra box (default is'off').-o,--hide-extra-boxβ switches'off'Extra box (if set to'on'on custom files).-D,--aplot-box-color <color>β Aplot main box background color.-d,--percent-box-color <color>β Percent box background color.-b,--extra-box-color <color>β Extra box background color.--nopswarningsβ switch off warnings that may appear on the final PostScript figure when X sequence, Y sequence and/or alignment input data is missing.-a,--hide-creditsβ switch offgff2aplotcredits line on plot. (rude but valid π)--debugβ reporting variable contents when testing the program. Requires that log report file option was also activated.--layout-var '<variable=value>'β layout customization variable from the command line.--sequence-var '<sequence::variable=value>'β sequence customization variable from the command line.--source-var '<source::variable=value>'β source customization variable from the command line.--strand-var '<strand::variable=value>'β strand customization variable from the command line.--group-var '<group::variable=value>'β group customization variable from the command line.--feature-var '<feature::variable=value>'β feature customization variable from the command line.-C,--custom-filename <filename>β loading customization parameters from a given file (if default.gff2aplotrcexists is loaded before it).
π the margins, explained (all four of them) π
Setting each page margin to <length>. If no units are provided, points are assumed. You can use points, milimeters, centimeters or inches (pt, mm, cm or in, respectively). yes, "milimeters" β one L, we don't gatekeep π
π§ the --*-var options, explained π§
Loading a feature/group/strand/source/sequence/layout customization variable from command-line. You can set several variables by repeating any of these options, i.e.:
... --feature-var 'cds::feature_shape=box'
--feature-var 'cds::feature_color=blue' ...
look at you, stacking vars like a queen π
π THE COLORS π
Those are the colors defined in gff2aplot:
- Default Colors: black white.
- Color Palette:
grey pink magenta violet blue skyblue cyan seagreen green limegreen yellow orange red brown - You can get up to nine color shades from Variable Colors with
"verydeep","deep","verydark","dark","light","verylight","pale"and"verypale"prefixes, as example:verydeepblue,deepblue,verydarkblue,darkblue,blue,lightblue,verylightblue,paleblueandverypaleblue. - Dynamic colors:
gradient rainbow.
πΌοΈ page sizes πΌοΈ
The following page sizes are available: from A0 to A10, from B0 to B10, 10x14, executive, folio, ledger, legal, letter, quarto, statement and tabloid.
π ENVIRONMENT VARIABLES π
There are two environmental variables that can be set by users to their preferences:
- You can specify the path where
gff2aplotcan find the default files with the shell variable"GFF2APLOT_CUSTOMPATH". Default value is the path where you are runninggff2aplot. - You can also define the default custom filename you will like with the variable
"GFF2APLOT_CUSTOMFILE", program default filename for custom file is.gff2aplotrc. - Now
gff2aplotdoes not need to write any temporary file, so that previous versions default temporary directory path variable ("GFF2APLOT_TMP") is no longer used. rip to a real one πͺ¦ - Setting those vars in Bourne-shell and C-shell:
- Using a Bourne-Shell (e.g.
bash):
- Using a Bourne-Shell (e.g.
export GFF2APLOT_CUSTOMPATH="path"
export GFF2APLOT_CUSTOMFILE="file_name"
- Using a C-Shell:
setenv GFF2APLOT_CUSTOMPATH "path"
setenv GFF2APLOT_CUSTOMFILE "file_name"
π SEE ALSO π
ali2gff(1), blat2gff(1), parseblast(1), sim2gff(1).
the whole friend group, go say hi π«Ά
π AUTHOR π
gff2aplot was written by Josep Francesc ABRIL FERRANDO <jabril@imim.es>, Thomas WIEHE <twiehe@zedat.fu-berlin.de> and Roderic GUIGO SERRA <rguigo@imim.es>.
This manual page was written by Nelson A. de Oliveira <naoliv@gmail.com>, for the Debian project (but may be used by others).
okay that's the whole page, nothing skipped, nothing dropped. go make some pretty plots bestie π
and that's a wrap on GFF2APLOT(1) β this version of the page is dated Mon, 21 Mar 2005 21:44:15 -0300, it's section 1 of the manual, and it ate, no crumbs left. periodt. π
β¨π¦
π¦ where this page comes from
- debian bookworm: gff2aplot 2.0-14 Β· GPL-2.0-or-later
- debian trixie: gff2aplot 2.0-15 Β· GPL-2.0-or-later
- ubuntu jammy: gff2aplot 2.0-14 Β· GPL-2.0-or-later
- ubuntu noble: gff2aplot 2.0-15 Β· GPL-2.0-or-later
- ubuntu questing: gff2aplot 2.0-15
- ubuntu resolute: gff2aplot 2.0-15build1 Β· GPL-2.0-or-later
- ubuntu stonking: gff2aplot 2.0-15build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms