mutts 1.0.2__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mutts-1.0.2 → mutts-1.0.4}/PKG-INFO +20 -1
- {mutts-1.0.2 → mutts-1.0.4}/README.md +19 -0
- {mutts-1.0.2 → mutts-1.0.4}/pyproject.toml +1 -1
- {mutts-1.0.2 → mutts-1.0.4}/src/mutts/cli.py +1 -2
- {mutts-1.0.2 → mutts-1.0.4}/src/mutts/retriever.py +1 -1
- mutts-1.0.4/src/mutts/static-excel-tabs/JGI.Metagenome.NA.v15.xlsx +0 -0
- {mutts-1.0.2 → mutts-1.0.4}/src/mutts/__init__.py +0 -0
- {mutts-1.0.2 → mutts-1.0.4}/src/mutts/spreadsheet.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mutts
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Metadata for User facility Template Transformations
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: NMDC,US DOE user facilities,metadata translation
|
|
@@ -31,6 +31,7 @@ Description-Content-Type: text/markdown
|
|
|
31
31
|
- [MUTTs User Documentation](#mutts-user-documentation)
|
|
32
32
|
- [Prerequisites](#prerequisites)
|
|
33
33
|
- [Installation](#installation)
|
|
34
|
+
- [Updating to the Latest Version](#updating-to-the-latest-version)
|
|
34
35
|
- [Usage](#usage)
|
|
35
36
|
- [Example 1: Generate a JGI Metagenome spreadsheet](#example-1-generate-a-jgi-metagenome-spreadsheet)
|
|
36
37
|
- [Example 2: Generate a JGI Metagenome v15 spreadsheet](#example-2-generate-a-jgi-metagenome-v15-spreadsheet)
|
|
@@ -99,6 +100,24 @@ Download the mapper files you need from the [input-files directory](https://gith
|
|
|
99
100
|
- For JGI Metagenome: `jgi_mg_header.json` or `jgi_mg_header_v15.json`
|
|
100
101
|
- For JGI Metatranscriptome: `jgi_mt_header.json` or `jgi_mt_header_v15.json`
|
|
101
102
|
|
|
103
|
+
### Updating to the Latest Version
|
|
104
|
+
|
|
105
|
+
To ensure you have the latest features and bug fixes, you can upgrade the MUTTs package from PyPI:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
pip install --upgrade mutts
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
To check your currently installed version:
|
|
112
|
+
```bash
|
|
113
|
+
pip show mutts
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
You can also install a specific version if needed:
|
|
117
|
+
```bash
|
|
118
|
+
pip install mutts==<version>
|
|
119
|
+
```
|
|
120
|
+
|
|
102
121
|
### Usage
|
|
103
122
|
|
|
104
123
|
Run the `mutts` command with the required options:
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
- [MUTTs User Documentation](#mutts-user-documentation)
|
|
8
8
|
- [Prerequisites](#prerequisites)
|
|
9
9
|
- [Installation](#installation)
|
|
10
|
+
- [Updating to the Latest Version](#updating-to-the-latest-version)
|
|
10
11
|
- [Usage](#usage)
|
|
11
12
|
- [Example 1: Generate a JGI Metagenome spreadsheet](#example-1-generate-a-jgi-metagenome-spreadsheet)
|
|
12
13
|
- [Example 2: Generate a JGI Metagenome v15 spreadsheet](#example-2-generate-a-jgi-metagenome-v15-spreadsheet)
|
|
@@ -75,6 +76,24 @@ Download the mapper files you need from the [input-files directory](https://gith
|
|
|
75
76
|
- For JGI Metagenome: `jgi_mg_header.json` or `jgi_mg_header_v15.json`
|
|
76
77
|
- For JGI Metatranscriptome: `jgi_mt_header.json` or `jgi_mt_header_v15.json`
|
|
77
78
|
|
|
79
|
+
### Updating to the Latest Version
|
|
80
|
+
|
|
81
|
+
To ensure you have the latest features and bug fixes, you can upgrade the MUTTs package from PyPI:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
pip install --upgrade mutts
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
To check your currently installed version:
|
|
88
|
+
```bash
|
|
89
|
+
pip show mutts
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
You can also install a specific version if needed:
|
|
93
|
+
```bash
|
|
94
|
+
pip install mutts==<version>
|
|
95
|
+
```
|
|
96
|
+
|
|
78
97
|
### Usage
|
|
79
98
|
|
|
80
99
|
Run the `mutts` command with the required options:
|
|
@@ -114,8 +114,7 @@ def cli(
|
|
|
114
114
|
if mapper_basename in jgi_v15_mappers:
|
|
115
115
|
# Path to static JGI v15 Excel template
|
|
116
116
|
static_excel_path = os.path.join(
|
|
117
|
-
os.path.dirname(__file__), '
|
|
118
|
-
'input-files', 'static-excel-tabs', 'JGI.Metagenome.NA.v15.xlsx'
|
|
117
|
+
os.path.dirname(__file__), 'static-excel-tabs', 'JGI.Metagenome.NA.v15.xlsx'
|
|
119
118
|
)
|
|
120
119
|
|
|
121
120
|
# Copy INSTRUCTIONS and PLATE LOCATIONS sheets from JGI v15 template
|
|
@@ -120,7 +120,7 @@ class MetadataRetriever:
|
|
|
120
120
|
all_sample_data_df = pd.concat(sample_data_dfs, ignore_index=True)
|
|
121
121
|
# Merge the combined sample data with df on samp_name
|
|
122
122
|
if not df.empty and not all_sample_data_df.empty:
|
|
123
|
-
df = pd.merge(df, all_sample_data_df, on="samp_name", how="
|
|
123
|
+
df = pd.merge(df, all_sample_data_df, on="samp_name", how="left")
|
|
124
124
|
|
|
125
125
|
# Auto-fill depth with 0 for JGI facilities if no value is provided
|
|
126
126
|
if self.user_facility in ["jgi_mg", "jgi_mt", "jgi_mg_lr"]:
|
|
Binary file
|
|
File without changes
|
|
File without changes
|