Changelog
Source:NEWS.md
volcalc 2.2.0
- Added a
validate = TRUEoption tocalc_vol()andget_fx_groups()that returnsNAs when there are suspected errors in parsing SMILES or .mol files. This is unfortunately not available on Windows due to differences in the windows version ofChemmineOB - Users can now supply a temperature at which to calculate volatility estimates. As a result, RVI values may now be slightly different compared to those from
volcalcv2.1.2 due to rounding differences. - Inputs to
calc_vol()supplied as a named vector of SMILES strings now properly pass the names toChemmineR::smile2sdf()where they are used as the molecule name. - adds a dataset,
smarts_simpol1, describing how functional groups are defined for the SIMPOL.1 and Meredith et al. methods -
KEGGRESTis no longer a dependency ofvolcalc(previously used inget_mol_kegg())
volcalc 2.1.1
- Added Dr. Laura Meredith as a package author as the concept for volcalc originated from her.
- Added package contributors S. Marshall Ledford (our main user and beta tester since day 1!) and Tamás Stirling (for help with SMARTS patterns)
- Updated citation files accordingly
volcalc 2.1.0
- The manuscript associated with
volcalcis now published in Frontiers in Microbiology 🎉. DOI: 10.3389/fmicb.2023.1267234 - There are now two vignettes available which can be viewed with
browseVignettes("volcalc")or on the package website
Miscelanous changes
- New example .mol files were added. See
?mol_example() -
mol_example()no longer takes any arguments and just returns file paths to all example .mol files
Changes to calc_vol() and simpol1()
- It is now possible to supply input to
calc_vol()as a vector of SMILES strings withfrom = "smiles". - Users can now choose from RVI thresholds for non-volatile, low, moderate, and high volatility for clean atmosphere, polluted atmosphere, or soil using the
environmentparameter ofcalc_vol(). - A coefficient for amides has been removed from the “Meredith” method of
simpol1()to avoid double-counting amides. - The default for the
methodargument tocalc_vol()has now been renamed to"meredith"."simpol1"now uses the original SIMPOL.1 method without additional coefficients added in Meredith et al. (2023). -
simpol1()gains an argumentmerediththat controls whether just the functional groups in the original SIMPOL.1 method (Pankow & Asher, 2008) is used or if additional coefficients used in Meredith et al. (2023) are also included. -
simpol1()now takes into account amide functional groups.
Changes to get_mol_kegg()
- The
pathway_idsargument ofget_mol_kegg()now also accepts pathway module IDs (e.g. “M00082”). -
get_mol_kegg()got a significant speed improvement (#84). -
get_mol_kegg()will skip downloading a .mol file if it is already present by default (override withforce=TRUE).
Changes to get_fx_groups()
-
masscolumn renamed tomolecular_weightand addition of anexact_masscolumn. - change to how non-aromatic carbon double bonds are counted. Now using SMARTS pattern “C=C”
- now returns
hydroxyl_totalandhydroxyl_aliphaticinstead ofhydroxyl_groups - now returns
rings_totalandrings_aliphaticinstead ofrings - Now captures all functional groups in the SIMPOL.1 method except “number of carbons on the acid side of an amide”. This version adds these previously missing groups used by
simpol1():- C=C-C=O in a non-aromatic ring
- non-aromatic carbon double bonds
- aromatic amines
- primary, secondary, and tertiary amides
- hydroperoxides
- carbonylperoxyacids
- carbonylperoxynitrates
- alkyl, alicyclic, and aromatic ethers (in addition to total ethers)
- nitrophenols
- nitroesters
- changed
ethertoether_alkyland addedether_total(matching any R-O-R) - slight change to the SMARTS pattern to capture sulfonate groups to also capture conjugate sulfonic acids
volcalc 2.0.0
This version includes big (breaking) changes in how the package works! Please read the changelog below carefully and check function documentation and examples to see the new usage of functions.
- Change output of
get_fx_groups()andcalc_vol()from data frame to tibble -
get_fx_groups()andcalc_vol()no longer depend on KEGG or take KEGG compound IDs or pathway IDs. Instead,calc_vol()accepts a path to a .mol file as input. -
calc_vol()is vectorized and accepts multiple compounds as input. - Moved SIMPOL.1 calculations out of
calc_vol()and into to their own function,simpol1(), to pave the way for future expansions using other methods. The “manual” workflow is now .mol file |>ChemmineR::read.SDFset()|>get_fx_groups()|>simpol1() - The output of
calc_vol()(andsimpol1()) now contains a column calledlog10_Pinstead oflog_Sum, equivalent tolog_Sum+ the coefficient for b_0(T) - Output of
calc_vol()now contains a column with the inputs, named whatever is supplied tofrom(eg. a column calledmol_pathcontaining paths to mol files) - A new function,
get_mol_kegg(), replacessave_compound_mol()for downloading mol files from KEGG - Added pkgdown website
-
get_fx_groups()now only counts the smallest set of smallest rings (#57) - Fixed a bug that caused the number of phenols to be miscounted. Rather than counting phenols,
get_fx_groupsnow counts aromatic hydroxyl groups (e.g. phenols) to more closely align with Pankow & Asher (2008) (#46) - package now has a hex logo!
- Fixes a bug in
volcalcintroduced by a bug-fix inChemmineRv3.53.1 (#54) - The
volatilitycolumn in the output ofcalc_vol()has been renamed torvi(relative volatility index)
volcalc 1.0.2
- Minor change in calculation in
calc_vol()—remove amines functional group to avoid double counting with primary amines (#49)
volcalc 1.0.1
- Minor change in calculation in
calc_vol()—use 293.15K for temperature (instead of 293K) to match the temperature used in Pankow & Asher (2008)