GithubHelp home page GithubHelp logo

jamesrco / 3h_leu_bactprod Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 807 KB

Suite of scripts for evaluating, calculating, and plotting rates of marine bacterial production using liquid scintillation counter data from the 3H-leucine microcentrifuge method

License: MIT License

MATLAB 34.84% M 65.16%

3h_leu_bactprod's Introduction

3H_Leu_BactProd

Suite of scripts for evaluating, calculating, and plotting rates of marine bacterial production using liquid scintillation counter data obtained from the 3H-leucine microcentrifuge method. These scripts and dependencies were used to process the BP data reported in:

Collins, J. R., B. R. Edwards, K. Thamatrakoln, J. E. Ossolinski, G. R. DiTullio, K. D. Bidle, S. C. Doney, and B. A. S. Van Mooy. 2015. The multiple fates of sinking particles in the North Atlantic Ocean. Global Biogeochem. Cycles 29: 1471-1494, doi:10.1002/2014GB005037

Details of specific incubation methods are provided in the paper. The final, processed BP data generated using these scripts are archived to: http://www.bco-dmo.org/deployment/58787 (KN207-1 data) and http://www.bco-dmo.org/project/2136 (KN207-3 data)

3H_Leu_BactProd includes:

  1. plotQuenched.m: Run this script first. Obtains best-fit parameters for a cubic function quenchcurve_cubicfitfunc.m for conversion of H-number and cpm to dpm, based on liquid scintillation counter efficiency. The function coefficients are written to an output file Quench_curve_fit_params.txt, which are then reimported by riBPdata.m for use in rate calculations. plotQuenched.m allows the user to control the manner in which dpm values are calculated, rather than rely on the LSC's own internal calculation routine. Original version by Krista Longnecker. With plotQuenched.m:

  2. riBPdata.m: The main BP data processing script. Reads in and works up 3H-leucine bacterial production data from liquid scintillation counter. Parses metadata files for oceanographic cruises, then calculates 3H-leu uptake rates by CTD station and depth and/or experimental treatment and timepoint. Corrects for the "killed control" used in the microcentrifuge method after averaging of replicates. Can be used with the follow-on data visualization script BactProd_plots.m (see below). Will work up all data given to it as long as it's in the right format, and then export results to a MATLAB .mat file and a series of .csv files. Based on an earlier script of the same name by Krista Longnecker. Required by riBPdata.m are:

    • Quench_curve_fit_params.txt, the text file generated by plotQuenched.m, above
    • LSC data in a spreadsheet, arranged as shown in the raw data file from Collins et al. 2015; this file is included in sample_data_metadata as LSC_BP_data_KN207-1,KN207-3.xls. The "Sample ID" field in this file should contain sample numbers that correspond to the field of the same name in the sample metadata file.
    • A metadata log file containing two kinds of sample metadata: (1) metadata for each sample, and (2) metadata for each set of incubations (and experimental treatments/timepoints, if appropriate) in which the samples were analyzed, including the incubation duration and temperature. Metadata that accompany the Collins et al. 2015 LSC data are provided in the file BP_metadata_KN207-1,KN207-3.xlsx. The first tab of this Excel file ("Sample ID inventory") contains metadata of the first type, while the second tab ("Incu durations, temps, notes") contains metadata of the second type
    • For "full" processing of BP data from shipboard CTD casts, also required are files containing CTD cast metadata. The provided version of the script uses files from the two cruises aboard the R/V Knorr that were the focus of Collins et al. 2015 (Shipcast_metadata_KN207-1.xlsx and Shipcast_metadata_KN207-3.xlsx)
  3. BactProd_plots.m: Generates summary statistics and depth vs. latitude plots from bacterial production data. Uses as input BP rates calculated using the script riBPdata.m. Provided version of script is configured for data from the BLATZ II and NA VICE cruises (KN207-1 and KN207-3). m. This script was used to generate the various BP plots presented in the electronic supplement to Collins et al. 2015. BactProd_plots.m requires:

Examples of the plots that can be generated with this script (from Collins et al. 2015): Visualization of statistics

Some statistics.

Depth vs. latitude contour plots

Depth versus latitude contour plots. Uses scatteredInterpolant(), meshgrid(), and contourf() as an easy alternative to Ocean Data View.

For details on the 3H-leucine microcentrifige method, see:

Kirchman, D., E. Knees, and R. Hodson. 1985. Leucine Incorporation and Its Potential as a Measure of Protein-Synthesis by Bacteria in Natural Aquatic Systems. Appl. Environ. Microbiol. 49: 599-607.

Kirchman, D. 2001. Measuring bacterial biomass production and growth rates from leucine incorporation in natural aquatic environments. In Methods in Microbiology. J. H. Paul, editor. Academic Press. 227-237.

3h_leu_bactprod's People

Contributors

jamesrco avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.