Skip to contents

Combine and summarize reports

Read one or more LIMS sample reports into one row per aliquot, and summarize them by collection event, subject, sample type, collection date, microbial species or study.

lims_aggregate()
Combine and summarize LIMS sample reports

Plot the cohort

A cohort’s sampling timeline, and heatmaps of aliquot, collection event and subject counts across any two levels.

lims_timeline()
Plot a cohort's sampling timeline from LIMS reports
lims_heatmap()
Plot a heatmap of LIMS counts across two levels

Prepare SRA submissions

Turn a LIMS sample report into the BioSample attributes and SRA metadata tables for an NCBI SRA submission.

prepare_sra_metadata()
Prepare NCBI BioSample and SRA metadata from a biobank sample report

Scrub human reads

Mask human reads in local metagenomic FASTQ files with NCBI’s Human Read Removal Tool (HRRT) before an SRA upload, in a conda environment. Linux on x86-64 only.

setup_conda_hrrt()
Set up a conda environment for human read scrubbing
document_conda_hrrt()
Document the human read scrubbing conda environment
hrrt_local()
Scrub human reads from local paired-end FASTQ files

BioSample templates

The column layouts of the NCBI BioSample packages that prepare_sra_metadata() writes.

Metagenome_environmental Microbe
NCBI BioSample templates

Example data

Subsets of two LabVantage sample reports, installed with the package.

lims_example()
Paths to the example LIMS reports installed with lims2sra

Package

lims2sra lims2sra-package
lims2sra: summarize LIMS sample reports and generate SRA submissions