annotate configuration.py @ 18:039c45c01b47 draft

Uploaded
author petr-novak
date Tue, 24 Sep 2019 07:27:56 -0400
parents d0431a839606
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
1 #!/usr/bin/env python3
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
2 ''' configuration file to set up the paths and constants '''
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
3 import os
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
4
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
5 MAIN_GIT_DIR = os.path.dirname(os.path.realpath(__file__))
7
888361a4a39c Uploaded
petr-novak
parents: 4
diff changeset
6 TOOL_DATA = os.path.join(MAIN_GIT_DIR, "tool-data")
4
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
7 TMP = "tmp"
10
d0431a839606 Uploaded
petr-novak
parents: 9
diff changeset
8 SC_MATRIX_SKELETON = os.path.join(TOOL_DATA, "{}.txt.sample")
4
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
9 AMBIGUOUS_TAG = "Ambiguous_domain"
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
10 ## IO
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
11 CLASS_FILE = "ALL.classification-new"
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
12 LAST_DB_FILE = "ALL_protein-domains_05.fasta"
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
13 DOM_PROT_SEQ = "dom_prot_seq.fa"
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
14 FILT_DOM_GFF = "domains_filtered.gff"
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
15 EXTRACT_DOM_STAT = "domains_counts.txt"
6a92134a105b Uploaded
petr-novak
parents:
diff changeset
16 EXTRACT_OUT_DIR = "extracted_domains"
9
ed4d9ede9cb4 Uploaded
petr-novak
parents: 8
diff changeset
17 FASTA_LINE = 60
ed4d9ede9cb4 Uploaded
petr-novak
parents: 8
diff changeset
18 SOURCE_PROFREP = "profrep"
ed4d9ede9cb4 Uploaded
petr-novak
parents: 8
diff changeset
19 SOURCE_DANTE = "dante"
ed4d9ede9cb4 Uploaded
petr-novak
parents: 8
diff changeset
20 DOMAINS_FEATURE = "protein_domain"
ed4d9ede9cb4 Uploaded
petr-novak
parents: 8
diff changeset
21 PHASE = "."
ed4d9ede9cb4 Uploaded
petr-novak
parents: 8
diff changeset
22 HEADER_GFF = "##gff-version 3"
ed4d9ede9cb4 Uploaded
petr-novak
parents: 8
diff changeset
23 DOMAINS_GFF = "output_domains.gff"