Keyword Type and default Help
gelfile
gelfile Explicitly specify the gelfile to use. Often used in "yaml-mode" where the primary file is a YAML config file ("yaml-mode"). Specifying gelfile with this keyword will save it it the .gaml config file. Useful for having multiple .gaml config files all using the same .GEL file, e.g. with different crop regions if the GEL file contains multiple gels.
loglevel
loglevel Logging level, e.g. 10, 30, or 'DEBUG', 'INFO.
logtofile
logtofile Write log output to file rather than console.
stdout
filename Write stdout stream to file rather than console.
stderr
filename Write stderr stream to file rather than console. Defaults to same value as stdout.
stdout_mode
file mode File open mode for stdout stream, if stdout is given. Default: 'w'. (default: w)
stderr_mode
file mode File open mode for stderr stream, if stderr is given. Default: 'w'. (default: w)
disable_logging
true/false Disable logging system.
linearize
true/false Linearize gel input data stored in Square-Root Encoded Data (if Typhoon).
dynamicrange
MIN, MAX Specify dynamic range (contrast). Valid argumets are 'MIN MAX', 'MAX' and 'auto', e.g. '1000, 20000' to set range from 1000 to 20000, '20000' to set range from zero to 20000, and 'auto' to determine range automatically. MIN and MAX are usually provided as absolute values e.g. '300 5000', but can also be specified as percentage values, e.g. '0.1% 99%'. If percentage or decimal values are given, the dynamic range is set such that MIN % of the pixels are below the lower range and (1.0 - MAX) of the pixels are above the dynamic range. If only one integer argument is given if is assumed to be the max, and min is set to 0. If specifying 'auto', the software will try to determine a suitable contrast range automatically.
gelfile_remember
true/false Save gelfile in config for later use.
invert
true/false Invert gel data, so zero is white, high intensity black.
convertgelto
png/jpg/etc Convert gel to this format. (default: png)
overwrite
true/false "Overwrite existing png file. If set to false, the program will re-use the any old PNG it finds instead of re-generating the PNG from the .GEL file. If you are playing around with e.g. the annotations, this can save a bit of computation. (default: True)
pngfnfmt
format_string Customize the png filename using python string formatting. (default: {yamlfnroot}_{dr_rng}{N_existing}{ext})
pngmode
pngmode PNG output format (bits per pixel). L = 8 bit integer, I = 16/32 bit. (default: L)
filename_sub
FIND, REPLACE Substitute FIND with REPLACE in output filename.
filename_sub_re
FIND, REPLACE Substitute all substrings matching the regex FIND with REPLACE in output filename.
crop
LEFT, UPPER, RIGHT, LOWER Crop image to this box (left upper right lower) aka (x1 y1 x2 y2), Values can be either pixel values [500, 100, 1200, 400], or fractional/percentage values [5%, 3%, 95%, 0.9]. Note: Yes, 0.9 is 90%. If gel image is 1000 pixels wide, 0.9 or 90% are equivalent to 900 pixels. OBS! Note that by default the values are interpreted as <strong>ABSOLUTE COORDINATE VALUES</strong> from the top, left pixel. If you want to change this behaviour such that the RIGHT and LOWER values are interpreted as the amount to crop away, e.g. 'crop 12% from the right edge', set ```cropfromedges``` to true.
cropfromedges
true/false If true, the crop values RIGHT and LOWER defined above specifies pixels from their respective edges instead of absolute coordinates from the upper left corner. Default: false.
scale
scalefactor "Scale the gel by this amount. Can be a single value for uniform scaling, or two values for different scaling in x vs y. Can be given as float (0.1, 2.5) or percentage (10%, 250%).
rotate
angle Rotate gel image by this angle (counter-clockwise). Default: 0.
rotateexpands
true/false When rotating, the image size expands to make room. False (default) means that the gel will keep its original size.
flip_h
true/false Flip image horizontally left-to-right.
flip_v
true/false Flip image vertically top-to-bottom.
svgfnfmt
format_string How to format the png filename (if created). (default: {pngfnroot}_annotated{ext})
pngfile
filename Use this pngfile instead of the specified gelfile.
reusepng
true/false Prefer png file over the specified gelfile.
yoffset
int-or-fraction Y offset (how far down the gel image should be).
ypadding
int-or-fraction Vertical space between gel image and annotations.
xmargin
left, right Margin to the right and left of lane annotations to the outer edge of GEL image.
xspacing
int-or-fraction Force a certain x spacing between lanes.
xtraspaceright
int-or-fraction Add additional padding/whitespace to the right side of the gel image. This is sometimes needed if the gel is not wide enough for the last lane annotation.
textrotation
angle Rotate lane annotations by this angle (counter-clockwise). Default: 70.
fontsize
size (int) Specify default font size, e.g. 12 or 16.
fontfamily
fontfamily Specify default font family, e.g. arial or MyriadPro.
fontweight
fontweight Font weight: normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit.
textfmt
format_string How to format the lane annotations, e.g. '{idx} {name}'. Format keys include: idx, name. Default: '{name}'.
laneidxstart
int Change the start number of the {idx} format parameter of lane annotations.
yamlfile
filename Load options from YAML file, update and save.
saveyamlto
filename Force saving yaml to this file when complete.
updateyaml
true/false Update yaml settings after run to reflect the settings used. (default: False)
embed
true/false Embed image data in svg file. (default) (default: True)
annotationsfile
filename Load lane annotations from this file. If not specified, will try to guess the right file.
lines_inputstyle
string-spec This can be used to change how lines in the sample annotation file are interpreted. Default is to use all non-empty lines that does not begin with '#'. Set this to 'wikilist' to only include lines that starts with either of #, *, -, +.
lines_includeempty
true/false Whether to include empty lines. Not applicable to 'wikilist' lines_inputstyle (use blank lines starting with '#' in this case). (default: False)
lines_listchar
string-spec If annotations are copy-pasted from a wiki/markdown list and you want to strip the list charaacter (e.g. '*' or '#'), specify the character here. Default: auto-detect.
lines_commentchar
string-spec Lines starting with this character are ignored (comments). Default: auto-detect.
openwebbrowser
true/false Open annotated svg file in default webbrowser. Default: Do not open files. (default: True)
svgtopng
true/false Save svg as png (requires cairo package).