You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
#### Daily Change Log:
2
-
*[2026.3.11] - Added support for `-r/--single_reads` in both `profile-taxonomy.py` and `profile-pathway.py`. However, the `profile-pathway.py` needs `oarfish` to use long reads. [issue/#24](https://github.com/jolespin/leviathan/issues/24)
2
+
*[2026.7.16] - Added parallelization support for pathway coverage using `profile_pathway_coverage` from `kegg_pathway_profiler>=2026.7.16` in `leviathan-profile-pathway.py`. The `--n_jobs` flag now applies to both `salmon quant` and pathway coverage computation.
3
+
*[2026.7.16] - Added `--deterministic` flag to `leviathan-profile-pathway.py` which passes `--deterministic` to `salmon quant` for byte-identical results across runs and thread counts.
4
+
*[2026.7.8] - Added `--update_salmon_index` to `leviathan-index.py` and remove `-u` alias on `--update_with_genomes`
5
+
*[2026.7.8] - **BREAKING CHANGE:**`Salmon` is reimplemented with `Rust` from `C++` so any `Leviathan` databases using `Salmon 1.x` will need to be updated. `Leviathan` now requires `Salmon ≥ 2.x`.
6
+
*[2026.3.11] - Added support for `-r/--single_reads` in both `profile-taxonomy.py` and `profile-pathway.py`. However, the `profile-pathway.py` needs `oarfish` to use long reads but there are no synthetic long-read metatranscriptomics to benchmark. [issue/#24](https://github.com/jolespin/leviathan/issues/24)
3
7
*[2026.3.10] - Added `--veba_major_version` to `compile-manifest-from-veba.py` since `cluster` output directory is changing
*[2025.12.17] - Added `--table_format parquet|tsv` to `leviathan-merge.py` and merge functions in `leviathan-profile-pathway.py`/`leviathan-profile-taxonomy.py`[Issue #20](https://github.com/jolespin/leviathan/issues)
Copy file name to clipboardExpand all lines: bin/leviathan-index.py
+33-4Lines changed: 33 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,8 @@ def main(args=None):
64
64
parser_io.add_argument("-m","--feature_mapping", type=str, help="path/to/feature_mapping.tsv [id_gene, feature_set, id_genome, (Optional: id_genome_cluster)] (No header)")
65
65
parser_io.add_argument("-g","--genomes", type=str, help="path/to/genomes.tsv [id_genome, path/to/genome] (No header)")
66
66
parser_io.add_argument("-d","--index_directory", type=str, required=True, help="path/to/index_directory/ (Recommended: leviathan_output/index/ if this will only be used for one project or a centralized location if it will be used for multiple projects)")
67
-
parser_io.add_argument("-u", "--update_with_genomes", action="store_true", help="Update databases with genomes for Sylph sketches")
67
+
parser_io.add_argument("--update_with_genomes", action="store_true", help="Update databases with genomes for Sylph sketches")
68
+
parser_io.add_argument("--update_salmon_index", action="store_true", help="Update the Salmon index on an existing database (e.g., Leviathan databases prior to v2026.7.8 were built with Salmon v1.x and need to be updated with Salmon v2.x)")
logger.warning("--genomes not provided but can incoporated post hoc by rerunning with --update_with_genomes")
146
147
148
+
ifopts.update_salmon_index:
149
+
ifopts.update_with_genomes:
150
+
msg="--update_salmon_index and --update_with_genomes are mutually exclusive"
151
+
logger.critical(msg)
152
+
parser.error(msg)
153
+
ifnotopts.fasta:
154
+
msg="--fasta is required when --update_salmon_index is specified"
155
+
logger.critical(msg)
156
+
parser.error(msg)
157
+
147
158
# Threads
148
159
ifopts.n_jobs==-1:
149
160
frommultiprocessingimportcpu_count
@@ -186,6 +197,7 @@ def main(args=None):
186
197
ifall([
187
198
os.path.exists(opts.index_directory),
188
199
notopts.update_with_genomes,
200
+
notopts.update_salmon_index,
189
201
]):
190
202
msg=f"--index_directory {opts.index_directory} already exists. If you want to update with genomes, please use --update_with_genomes or remove directory to overwrite"
0 commit comments