constants module¶
-
mavis.illustrate.constants.
DEFAULTS
= WeakMavisNamespace(_defns={'width': 'The drawing width in pixels', 'domain_name_regex_filter': 'The regular expression used to select domains to be displayed (filtered by name)', 'max_drawing_retries': 'The maximum number of retries for attempting a drawing. Each iteration the width is extended. If it is still insufficient after this number a gene-level only drawing will be output', 'scaffold_color': 'The color used for the gene/transcripts scaffolds', 'gene1_color_selected': 'The color of the first gene', 'gene2_color_selected': 'The color of the second gene', 'gene1_color': 'The color of genes near the first gene', 'gene2_color': 'The color of genes near the second gene', 'label_color': 'The label color', 'domain_color': 'Domain fill color', 'domain_mismatch_color': 'Domain fill color on 0%% match', 'novel_exon_color': 'Novel Exon fill color', 'splice_color': 'Splicing lines color', 'breakpoint_color': 'Breakpoint outline color', 'mask_fill': 'Color of mask (for deleted region etc.)', 'mask_opacity': 'opacity of the mask layer', 'domain_scaffold_color': 'The color of the domain scaffold', 'drawing_width_iter_increase': 'The amount (in pixels) by which to increase the drawing width upon failure to fit'}, _types={'width': <class 'int'>, 'domain_name_regex_filter': <class 'str'>, 'max_drawing_retries': <class 'int'>, 'scaffold_color': <class 'str'>, 'gene1_color_selected': <class 'str'>, 'gene2_color_selected': <class 'str'>, 'gene1_color': <class 'str'>, 'gene2_color': <class 'str'>, 'label_color': <class 'str'>, 'domain_color': <class 'str'>, 'domain_mismatch_color': <class 'str'>, 'novel_exon_color': <class 'str'>, 'splice_color': <class 'str'>, 'breakpoint_color': <class 'str'>, 'mask_fill': <class 'str'>, 'mask_opacity': <function float_fraction>, 'domain_scaffold_color': <class 'str'>, 'drawing_width_iter_increase': <class 'int'>}, breakpoint_color='#000000', domain_color='#ccccb3', domain_mismatch_color='#b2182b', domain_name_regex_filter='^PF\\d+$', domain_scaffold_color='#000000', drawing_width_iter_increase=500, gene1_color='#657e91', gene1_color_selected='#518dc5', gene2_color='#325556', gene2_color_selected='#4c9677', label_color='#000000', mask_fill='#ffffff', mask_opacity=0.7, max_drawing_retries=3, novel_exon_color='#000000', scaffold_color='#000000', splice_color='#000000', width=1000)¶