Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
genotoul-bioinfo
ng6
Commits
1175ba86
Commit
1175ba86
authored
Aug 08, 2019
by
ckuchly
Browse files
Add 10X index reading from application.properties file
parent
e18eb015
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ng6/config_reader.py
View file @
1175ba86
...
...
@@ -167,6 +167,23 @@ class NG6ConfigReader(object):
except
:
raise
Exception
(
"Failed when parsing the config file get_454_mids !"
)
def
get_10X_indexs
(
self
):
"""
return the 10X indexs list
@return : hash table with 10X barcode list of index
"""
try
:
barcode_array
=
{}
barcodes
=
self
.
reader
.
items
(
"10X_barcodes"
)
for
barcode
in
barcodes
:
#print("config reader")
#print(barcode[0])
#logging.getLogger("ng6").debug("barcode[0] = " + barcode[0].upper())
barcode_array
[
barcode
[
0
].
upper
()]
=
barcode
[
1
].
upper
()
return
barcode_array
except
:
raise
Exception
(
"Failed when parsin the config file for 10X barcodes !"
)
def
get_workflow_filters
(
self
):
"""
Return a list of workflow class names
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment