-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathConfig.py
More file actions
104 lines (97 loc) · 2.46 KB
/
Copy pathConfig.py
File metadata and controls
104 lines (97 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Oct 14 12:30:47 2019
@author: nkleinbo
"""
#whether to be verbose or not:
BE_VERBOSE = True;
#no of CPUs to use at max:
NO_CPUS = 8;
#BLAST parameters for annotation:
BLAST_PARAMS = " -word_size 7 -perc_identity 70 -evalue 1e-50"
#BLAST parameters for finding reads:
#BLAST_PARAMS = " -word_size 7 -perc_identity 70 -evalue 1e-50"
#expected genome size:
GENOME_SIZE=145000000
#write fastq files WITHOUT T-DNA:
WRITE_FASTQ_WITHOUT_TDNA = False;
#allowed overlap of BLAST results for contig annotation:
ALLOWED_OVERLAP = 20
#allowed identity of BLAST results for contig annotation:
ALLOWED_IDENTITY = 80
#use corrected reads as input:
CORRECTED_READS = False
#bed quality value cutoff for mapping
MAPPING_QUAL_CUTOFF = 60
#mapping length cutoff
MAPPING_LENGTH_CUTOFF = 200
#path to stylesheet:
STYLESHEET = "style/style.css"
#Rerun BLASTS:
RERUN_BLAST = False
#Rerun Assemblies:
RERUN_ASSEMBLY = False
#Rerun Assemblies:
RERUN_MAPPING = False
#Recreate filtered fastqs
RECREATE_FASTQ = False
#RERUN ALL
RERUN_ALL = True
#Image options:
WIDTH = 1600
HEIGHT_WITHOUT_MAPPINGS = 100
OFFSET = 50
OFFSET_TOP = 50
OFFSET_MAPPINGS = HEIGHT_WITHOUT_MAPPINGS
MAPPING_WIDTH = 2
MAPPPING_COLOUR = (0,0,0)
MAPPPING_COLOUR_READ = (200,200,200)
LINEWIDTH = 5
FEATUREWIDTH = 16
FONTSIZE = 12
ARROW_OFFSET = 4
FONT = "fonts/TruenoRg.otf"
BLAST_FEATURE_MAPPING = {
"Agrobacterium_circular": "agrobac",
"Agrobacterium_plasmid": "agrobac",
"Agrobacterium_linear": "agrobac",
"At_Chr1": "plant",
"At_Chr2": "plant",
"At_Chr3": "plant",
"At_Chr4": "plant",
"At_Chr5": "plant",
"Chr1_AthCol0": "plant",
"Chr2_AthCol0": "plant",
"Chr3_AthCol0": "plant",
"Chr4_AthCol0": "plant",
"Chr5_AthCol0": "plant",
"Mitochondria": "mitochondria",
"Chloroplast": "chloroplast",
"T732": "adapter",
"LR32": "adapter",
"pAC106_tdna": "tdna",
"pAC106_vec": "vector",
"pAC161_tdna": "tdna",
"pAC161_vec": "vector",
"pGABI1_tdna": "tdna",
"pGABI1_vec": "vector",
"pADIS1_tdna": "tdna",
"pADIS1_vec": "vector",
"pROK2_vec": "vector",
"pRok2_tdna": "tdna",
"LB": "LB",
"RB": "RB"
}
COLOURS = {
"tdna": (200,0,0,1),
"vector": (150,0,0,1),
"agrobac": (150,0,150,1),
"adapter": (100,0,0,1),
"plant": (0,200,0,1),
"chloroplast": (0,155,0,1),
"mitochondria": (0,0,255,1),
"LB": (255,0,0,1),
"RB": (255,0,0,1),
"other": (155,155,155,1)
}