clumped-processing

Clumped isotope measurement processing script for Thermo Fisher MAT 253 plus isotope ratio mass spectrometer with the Kiel IV

https://github.com/utrechtuniversity/clumped-processing

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary

Keywords

clumped clumped-isotopes isotope mass-spectrometry stable-isotopes
Last synced: 6 months ago · JSON representation ·

Repository

Clumped isotope measurement processing script for Thermo Fisher MAT 253 plus isotope ratio mass spectrometer with the Kiel IV

Basic Info
  • Host: GitHub
  • Owner: UtrechtUniversity
  • License: gpl-3.0
  • Language: HTML
  • Default Branch: main
  • Homepage:
  • Size: 5.28 MB
Statistics
  • Stars: 4
  • Watchers: 2
  • Forks: 0
  • Open Issues: 17
  • Releases: 1
Topics
clumped clumped-isotopes isotope mass-spectrometry stable-isotopes
Created over 4 years ago · Last pushed almost 3 years ago
Metadata Files
Readme Changelog License Citation

README.org

#+title: clumped-processing
[[https://zenodo.org/badge/latestdoi/400205023][https://zenodo.org/badge/400205023.svg]]

This is processing code for the clumped isotope (\Delta_{47}) measurements made with the Thermo Fisher MAT 253 plus isotope ratio mass spectrometer with the Kiel IV automatic line, located in the Vening-Meineszbuilding B, for the Stratigraphy and Paleontology group at Earth Sciences, UU.

* ~targets~ explanation

Using the R-package [[https://wlandau.github.io/targets-manual/][targets]], we can run only those parts of the code that need to be updated. The basic structure is we first load the necessary libraries, then we define functions that do most of the work, and then a workflow of targets with function calls that ~targets~ analyses for inter-dependencies.

* Deployment

The workflow is deployed by [[https://www.uu.nl/en/organisation/faculty-of-geosciences/about-the-faculty/organisation/faculty-office][GEO-ICT]] and runs on a Windows Virtual Machine that is located close to the rawdata drive of the Geolab.

This VM can read in the rawdata directly and synchronizes the metadata file and final output to the Clumped Isotope Teams OneDrive.

To run the code, log in to the VM, start RStudio and run ~targets::tar_make()~ from the command line.

* Dependencies

We use the [[https://www.r-project.org/][R programming language]] >4.1.0 (because we use the native pipe ~|>~ operator every now and then).

The required R packages for this workflow are:

- [[https://github.com/isoverse/clumpedr/][clumpedr]] :: install with ~devtools::install_github("isoverse/clumpedr")~ to do the generic clumped isotope calculations
- tidyverse :: It's probably easiest to just install them all...
  - dplyr :: data wrangling
  - readr :: reading/writing csv files, changing column types
  - purrr :: functional programming, never loop again
  - tibble :: better data.frames
  - lubridate :: work with dates and times
  - tidyr :: i.e. extract character column, nesting, pivoting
- readxl :: to read in our excel files with metadata changes
- qs :: for optimized cache of lists
- fst :: for optimized cache of data.frames and tibbles
- isoreader :: to read in the raw files
- slider :: for the rolling empirical transfer function (currently not preferred)
- targets :: for the cached reproducible pipeline workflow
- tidylog :: for neat log messages about dplyr verbs

See also the file [[file:R/install_packages.R]].

* Notebooks

A user guide on how to run the workflow, can be previewed [[https://htmlpreview.github.io/?https://raw.githubusercontent.com/UtrechtUniversity/clumped-processing/main/running_clumped-processing.nb.html][here]].

A set of inspection plots (that do not get updated automatically!) can be viewed[[https://htmlpreview.github.io/?https://raw.githubusercontent.com/UtrechtUniversity/clumped-processing/main/inspecting_clumped-processing.nb.html][here]].

* Copying

The code was created by Ilja J. Kocken https://orcid.org/0000-0003-2196-8718
Copyright 2022 © Ilja Kocken

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program. If not, see .

* Contributing

Contributions in the form of issues and pull requests are most welcome. However, the goal of this repository is to proccess clumped isotope data from the Utrecht University laboratory.

* Citation

If you use this software in your work, please cite it using the following metadata.

Kocken, I. J. (2022). clumped-processing: R scripts to process clumped isotopes from raw data to final values at Utrecht Univerity (Version 1.0.0) [Computer software]. https://doi.org/10.5281/zenodo.6421836

Owner

  • Name: Utrecht University
  • Login: UtrechtUniversity
  • Kind: organization
  • Email: info.rdm@uu.nl
  • Location: Utrecht, The Netherlands

The central place for managing code and software for Utrecht University researchers and employees

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: >-
  clumped-processing: R scripts to process clumped isotopes
  from raw data to final values at Utrecht Univerity
message: >-
  To reference the latest version of the code, please cite
  as below.
type: software
authors:
  - given-names: Ilja Japhir
    family-names: Kocken
    email: i.j.kocken@uu.nl
    affiliation: Utrecht University
    orcid: 'https://orcid.org/0000-0003-2196-8718'
identifiers:
  - type: doi
    value: 10.5281/zenodo.6421836
    description: Zenodo all versions
repository-code: 'https://github.com/UtrechtUniversity/clumped-processing/'
repository: 'https://zenodo.org/record/6421837'
abstract: >-
  This is processing code for the clumped isotope (Δ47)
  measurements made with the Thermo Fisher MAT 253 plus
  isotope ratio mass spectrometer with the Kiel IV automatic
  line, located in the Vening-Meineszbuilding B, for the
  Stratigraphy and Paleontology group at Earth Sciences, UU.
keywords:
  - clumped
  - isotope
  - processing
  - raw data
  - open science
  - reproducible
  - workflow
  - targets
license: GPL-3.0-or-later
version: 1.0.0
date-released: '2022-04-07'
references:
  - authors:
    - given-names: Ilja Japhir
      family-names: Kocken
      email: i.j.kocken@uu.nl
      affiliation: Utrecht University
      orcid: 'https://orcid.org/0000-0003-2196-8718'
    - given-names: Sebastian
      family-names: Kopf
      affiliation: CU Boulder
      orcid: 'https://orcid.org/0000-0002-2044-0201'
    type: software
    title: 'clumpedr: clumped isotope processing in R'

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 22
  • Total pull requests: 1
  • Average time to close issues: 2 months
  • Average time to close pull requests: less than a minute
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 0.45
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • japhir (21)
  • jelletreep (1)
Pull Request Authors
  • japhir (1)
Top Labels
Issue Labels
enhancement (14) help wanted (10) someday (7) data (4) documentation (1) bug (1)
Pull Request Labels