oxymetag 1.1.0__py3-none-any.whl → 1.1.2__py3-none-any.whl

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.
oxymetag/__init__.py CHANGED
@@ -2,7 +2,7 @@
2
2
  OxyMetaG: Oxygen metabolism profiling from metagenomic data
3
3
  """
4
4
 
5
- __version__ = "1.1.0"
5
+ __version__ = "1.1.2"
6
6
  __author__ = "Clifton P. Bueno de Mesquita"
7
7
  __email__ = "cliff.buenodemesquita@colorado.edu"
8
8
 
@@ -167,7 +167,7 @@ predict_oxygen <- function(input_dir, output_file, package_data_dir, mode, idcut
167
167
 
168
168
  gene.hit.length.correction <- gene.hits %>%
169
169
  left_join(pfam_gene_length, by = "Pfam") %>%
170
- mutate(RPK = total_count / (1000 * Gene.length)) %>%
170
+ mutate(RPK = total_count / (Gene.length/1000)) %>%
171
171
  left_join(oxygen_pfams, by = "Pfam")
172
172
 
173
173
  # Sum by oxygen type
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: oxymetag
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Oxygen metabolism profiling from metagenomic data
5
5
  Home-page: https://github.com/cliffbueno/oxymetag
6
6
  Author: Clifton P. Bueno de Mesquita
@@ -25,9 +25,9 @@ Requires-Dist: numpy >=1.20.0
25
25
 
26
26
  Oxygen metabolism profiling from metagenomic data using Pfam domains. OxyMetaG predicts the percent relative abundance of aerobic bacteria in metagenomic reads based on the ratio of abundances of a set of 20 Pfams. It is recommended to use a HPC cluster or server rather than laptop to run OxyMetaG due to memory requirements, particularly for the step of extracting bacterial reads. If you already have bacterial reads, the "profile" and "predict" functions will run quickly on a laptop.
27
27
 
28
- If you are working with modern metagenomes, we recommend first quality filtering the raw reads with your method of choice and standard practices, and then extracting bacterial reads with Kraken2 and KrakenTools, which is performed with the OxyMetaG extract function. For profiling modern metagenomes, use DIAMOND blastx with the default `-m modern` mode for the predict step.
28
+ If you are working with modern metagenomes, we recommend first quality filtering the raw reads with your method of choice and standard practices, and then extracting bacterial reads with Kraken2 and KrakenTools, which is performed with the OxyMetaG extract function. For profiling modern metagenomes, use DIAMOND blastx with the default `-m diamond` mode for the profile step. You can also use `-m custom` in the predict step to test different hit cutoffs.
29
29
 
30
- If you are working with ancient metagenomes, we recommend first quality filtering the raw reads with your method of choice and standard practices, and then extracting bacterial reads with a workflow optimized for ancient DNA, such as the read mapping approach employed by De Sanctis et al. (2025). For profiling ancient metagenomes, use MMseqs2 with `-m mmseqs2` for the profile step and `-m ancient` for the predict step. The ancient mode uses parameters optimized for ancient DNA along with 97 decoy Pfams to reduce instances of false positives.
30
+ If you are working with ancient metagenomes, we recommend first quality filtering the raw reads with your method of choice and standard practices, and then extracting bacterial reads with a workflow optimized for ancient DNA, such as the read mapping approach employed by De Sanctis et al. (2025). For profiling ancient metagenomes, use MMseqs2 with `-m mmseqs2` for the profile step and `-m ancient` for the predict step. The ancient mode uses parameters optimized for ancient DNA along with 97 decoy Pfams to reduce instances of false positives. We are still working on optimizing the methods for ancient DNA, which will be released as v2.0.0.
31
31
 
32
32
  ## Installation
33
33
 
@@ -89,8 +89,7 @@ oxymetag predict -i diamond_output -o per_aerobe_predictions.tsv -m modern
89
89
  ### Ancient DNA workflow
90
90
 
91
91
  ```bash
92
- # 1. Extract bacterial reads (use ancient DNA-optimized workflow if available)
93
- # If using oxymetag extract, same as modern workflow
92
+ # 1. Extract bacterial reads with an ancient DNA-optimized workflow (not currently provided by OxyMetaG)
94
93
 
95
94
  # 2. Profile samples with MMseqs2
96
95
  oxymetag profile -i BactReads -o mmseqs_output -m mmseqs2 -t 8
@@ -1,4 +1,4 @@
1
- oxymetag/__init__.py,sha256=KaqG7NoPm89jxncdp4Ym3GNAI9h0MUDI-_4ugy6E7jQ,441
1
+ oxymetag/__init__.py,sha256=4ykaOTgOYTMULmR1fxZBubbwbSVoMuE4sqT1r9jYtbI,441
2
2
  oxymetag/cli.py,sha256=GIXCxpBUQIRWgcSyQNudAWyuVWAAnxK1DRGXG8jpVzQ,4877
3
3
  oxymetag/core.py,sha256=zLLVT6XsNb7qFtDlobIh44xgnOzXauYBCL8nNLA4XSk,12496
4
4
  oxymetag/utils.py,sha256=fxzKYNUpsuBnYZxlh8QMIEg5wktV6BatoLasfawTeW8,3178
@@ -19,11 +19,11 @@ oxymetag/data/oxymetag_pfams_n117_db_h.dbtype,sha256=QvSuuBwe-B93Hz3oq8qdz2aQHFd
19
19
  oxymetag/data/oxymetag_pfams_n117_db_h.index,sha256=JQc2q-oSWwx-sv32muf51tZVgmDl0DgM6m1eJr5Z-V4,379408
20
20
  oxymetag/data/pfam_headers_table.txt,sha256=wMg4WvlST6Zi3EzVFudjFHyREqNk8kHDI9Q6th7FdFY,255832
21
21
  oxymetag/data/pfam_lengths.tsv,sha256=--0bGxDN2v_WiBo0rKFJMPeOPsOrbaNhyjPAoIF9E5A,366
22
- oxymetag/scripts/predict_oxygen.R,sha256=NUv23y0l7BQxFUoxHqttlKveh6LYmO2qgP8hciGdpMs,7657
22
+ oxymetag/scripts/predict_oxygen.R,sha256=uhECt5Vkr2AV4mk6YZ4J1ELLNvNCPVG0YyOI9ukcZYw,7655
23
23
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- oxymetag-1.1.0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
25
- oxymetag-1.1.0.dist-info/METADATA,sha256=LYHfJ-otW3Tckz7ZbTVxTpIvb-fSJi3S6yeiLK6ifHA,11745
26
- oxymetag-1.1.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
27
- oxymetag-1.1.0.dist-info/entry_points.txt,sha256=-9xMAfrSPtFBEvQWRNVKROTM_3OjEik34mVEsYFwM2k,47
28
- oxymetag-1.1.0.dist-info/top_level.txt,sha256=G7EHL5Fpxne8CH3w5IDIkrsRmMzaEfOhmTngNovoYi8,15
29
- oxymetag-1.1.0.dist-info/RECORD,,
24
+ oxymetag-1.1.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
25
+ oxymetag-1.1.2.dist-info/METADATA,sha256=zyl95Ad5RaaMioQzvqlhMftzyyhqfLY84_haSzzVW8Q,11898
26
+ oxymetag-1.1.2.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
27
+ oxymetag-1.1.2.dist-info/entry_points.txt,sha256=-9xMAfrSPtFBEvQWRNVKROTM_3OjEik34mVEsYFwM2k,47
28
+ oxymetag-1.1.2.dist-info/top_level.txt,sha256=G7EHL5Fpxne8CH3w5IDIkrsRmMzaEfOhmTngNovoYi8,15
29
+ oxymetag-1.1.2.dist-info/RECORD,,