Skip to content

Commit a50b1e9

Browse files
committedSep 4, 2024
MAINT: add/update dunder attributes for metadata
1 parent 3bac072 commit a50b1e9

File tree

11 files changed

+91
-8
lines changed

11 files changed

+91
-8
lines changed
 

‎reneo/workflow/scripts/combineJunctionPickles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from collections import defaultdict
55

66
__author__ = "Michael Roach"
7-
__copyright__ = "Copyright 2022, Reneo Project"
7+
__copyright__ = "Copyright 2023, Reneo Project"
88
__license__ = "MIT"
99
__version__ = "0.5.0"
1010
__maintainer__ = "Vijini Mallawaarachchi"

‎reneo/workflow/scripts/reneo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
)
2424

2525
__author__ = "Vijini Mallawaarachchi"
26-
__copyright__ = "Copyright 2022, Reneo Project"
26+
__copyright__ = "Copyright 2023, Reneo Project"
2727
__license__ = "MIT"
2828
__version__ = "0.5.0"
2929
__maintainer__ = "Vijini Mallawaarachchi"

‎reneo/workflow/scripts/reneo_utils/FD_Inexact.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
1+
#!/usr/bin/env python3
2+
13
# Source: https://github.com/algbio/MFD-ILP
24

35
import logging
46

57
import more_itertools
68
import networkx as nx
79

8-
# create logger
9-
logger = logging.getLogger("reneo 0.5.0")
10+
__author__ = "Vijini Mallawaarachchi"
11+
__copyright__ = "Copyright 2023, Reneo Project"
12+
__license__ = "MIT"
13+
__version__ = "0.5.0"
14+
__maintainer__ = "Vijini Mallawaarachchi"
15+
__email__ = "viji.mallawaarachchi@gmail.com"
16+
__status__ = "Development"
17+
18+
19+
# Create logger
20+
logger = logging.getLogger(f"reneo {__version__}")
1021

1122

1223
def read_input(graphfile, number_subpath):

‎reneo/workflow/scripts/reneo_utils/component_utils.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
#!/usr/bin/env python3
2+
3+
__author__ = "Vijini Mallawaarachchi"
4+
__copyright__ = "Copyright 2023, Reneo Project"
5+
__license__ = "MIT"
6+
__version__ = "0.5.0"
7+
__maintainer__ = "Vijini Mallawaarachchi"
8+
__email__ = "viji.mallawaarachchi@gmail.com"
9+
__status__ = "Development"
10+
11+
112
def get_components(**kwargs):
213
"""
314
Get connected components with VOGs and no SMGs.

‎reneo/workflow/scripts/reneo_utils/coverage_utils.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import glob
24
import os
35
import pickle
@@ -7,6 +9,14 @@
79

810
import pysam
911

12+
__author__ = "Vijini Mallawaarachchi"
13+
__copyright__ = "Copyright 2023, Reneo Project"
14+
__license__ = "MIT"
15+
__version__ = "0.5.0"
16+
__maintainer__ = "Vijini Mallawaarachchi"
17+
__email__ = "viji.mallawaarachchi@gmail.com"
18+
__status__ = "Development"
19+
1020

1121
def get_unitig_coverage(coverage):
1222
"""

‎reneo/workflow/scripts/reneo_utils/edge_graph_utils.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import copy
24
import logging
35
from collections import defaultdict
@@ -6,8 +8,17 @@
68
from Bio.Seq import Seq
79
from igraph import *
810

11+
__author__ = "Vijini Mallawaarachchi"
12+
__copyright__ = "Copyright 2023, Reneo Project"
13+
__license__ = "MIT"
14+
__version__ = "0.5.0"
15+
__maintainer__ = "Vijini Mallawaarachchi"
16+
__email__ = "viji.mallawaarachchi@gmail.com"
17+
__status__ = "Development"
18+
19+
920
# Create logger
10-
logger = logging.getLogger("reneo 0.5.0")
21+
logger = logging.getLogger(f"reneo {__version__}")
1122

1223

1324
class BidirectionalError(Exception):

‎reneo/workflow/scripts/reneo_utils/flow_utils.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1-
import tempfile
1+
#!/usr/bin/env python3
22

3+
import tempfile
34
import networkx as nx
45

56
from .FD_Inexact import SolveInstances
67

8+
__author__ = "Vijini Mallawaarachchi"
9+
__copyright__ = "Copyright 2023, Reneo Project"
10+
__license__ = "MIT"
11+
__version__ = "0.5.0"
12+
__maintainer__ = "Vijini Mallawaarachchi"
13+
__email__ = "viji.mallawaarachchi@gmail.com"
14+
__status__ = "Development"
15+
716

817
def get_source_sink_circular(G_edge, graph_unitigs, minlength, self_looped_nodes):
918
"""

‎reneo/workflow/scripts/reneo_utils/gene_utils.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1+
#!/usr/bin/env python3
2+
13
from collections import defaultdict
24
from pathlib import Path
35

6+
__author__ = "Vijini Mallawaarachchi"
7+
__copyright__ = "Copyright 2023, Reneo Project"
8+
__license__ = "MIT"
9+
__version__ = "0.5.0"
10+
__maintainer__ = "Vijini Mallawaarachchi"
11+
__email__ = "viji.mallawaarachchi@gmail.com"
12+
__status__ = "Development"
13+
414

515
def get_smg_unitigs(hmmout, mg_frac):
616
"""

‎reneo/workflow/scripts/reneo_utils/genome_utils.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
#!/usr/bin/env python3
2+
3+
__author__ = "Vijini Mallawaarachchi"
4+
__copyright__ = "Copyright 2023, Reneo Project"
5+
__license__ = "MIT"
6+
__version__ = "0.5.0"
7+
__maintainer__ = "Vijini Mallawaarachchi"
8+
__email__ = "viji.mallawaarachchi@gmail.com"
9+
__status__ = "Development"
10+
11+
112
# Class for genome path
213
class GenomePath:
314
def __init__(

‎reneo/workflow/scripts/reneo_utils/output_utils.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1+
#!/usr/bin/env python3
2+
13
import os
24
import subprocess
35

4-
FASTA_LINE_LEN = 60
6+
__author__ = "Vijini Mallawaarachchi"
7+
__copyright__ = "Copyright 2023, Reneo Project"
8+
__license__ = "MIT"
9+
__version__ = "0.5.0"
10+
__maintainer__ = "Vijini Mallawaarachchi"
11+
__email__ = "viji.mallawaarachchi@gmail.com"
12+
__status__ = "Development"
513

614

15+
FASTA_LINE_LEN = 60
16+
717
def write_unitigs(nodes, unitig_names, graph_unitigs, filename, output):
818
"""
919
Write unitigs to FASTA file

‎reneo/workflow/scripts/sampleJunctions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from reneo_utils.coverage_utils import read_pair_generator
88

99
__author__ = "Michael Roach"
10-
__copyright__ = "Copyright 2022, Reneo Project"
10+
__copyright__ = "Copyright 2023, Reneo Project"
1111
__license__ = "MIT"
1212
__version__ = "0.5.0"
1313
__maintainer__ = "Vijini Mallawaarachchi"

0 commit comments

Comments
 (0)