Skip to content

HullUni-bioinformatics/Harper_et_al_2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Harper et al. (2018)

Data processing workflow and supplementary data for:

Harper et al. (2018) Needle in a haystack? A comparison of eDNA metabarcoding and targeted qPCR for detection of the great crested newt (Triturus cristatus). Ecology and Evolution, 8, 6330-6341. https://doi.org/10.1002/ece3.4013

Permanently archived at: DOI

Contents

Notebooks to create curated reference database used in analyses (databases also available in GenBank format) (here)

Notebooks to run metaBEAT pipeline (here)

NCBI Sequence Read Archive (SRA) accession numbers for raw Illumina data (here)

Taxonomic assignment results (here)

R scripts used to analyse metaBEAT output and produce figures (here)

Sample metadata needed to run analyses in R (here)

Instructions to set up dependencies for data processing and analyses

To facilitate full reproducibility of our analyses, we provide Jupyter notebooks illustrating our workflow and all necessary associated data in this repository.

Illumina data was processed (from raw reads to taxonomic assignment) using the metaBEAT pipeline. The pipeline relies on a range of open bioinformatics tools, which we have wrapped up in a self-contained docker image that includes all necessary dependencies here.

Setting up the environment

In order to retrieve scripts and associated data (reference sequences, sample metadata etc.), start by cloning this repository to your current directory:

git clone --recursive https://github.com/HullUni-bioinformatics/Harper_et_al_2018.git

In order to make use of our self contained analysis environment, you will have to install Docker on your computer. Docker is compatible with all major operating systems, but see the Docker documentation for details. On Ubuntu, installing Docker should be as easy as:

sudo apt-get install docker.io

Once Docker is installed, you can enter the environment by typing:

sudo docker run -i -t --net=host --name metaBEAT -v $(pwd):/home/working chrishah/metabeat /bin/bash

This will download the metaBEAT image (if not yet present on your computer) and enter the 'container' i.e. the self contained environment (NB: sudo may be necessary in some cases). With the above command, the container's directory /home/working will be mounted to your current working directory (as instructed by $(pwd)). In other words, anything you do in the container's /home/working directory will be synced with your current working directory on your local machine.

Data processing workflow as Jupyter notebooks

Raw illumina data has been deposited on the NCBI SRA:

  • BioProject: PRJNA417951
  • BioSample accessions: SAMN08011589 - SAMN08012288
  • SRA accessions: SRR6285413 - SRR6285678

The sample specific accessions can be found here. Before following the workflow for data processing, you'll need to download the raw reads from the SRA. To download the raw read data, you can follow the steps in this Jupyter notebook.

With the data in place, you should be able to fully reproduce our analyses by following the steps outlined in the Jupyter notebooks.

The workflow illustrated in the notebooks assumes that the raw Illumina data is present in a directory raw_reads at the base of the repository structure and that the files are named according to the following convention: 'sampleID-marker', followed by '_R1' or '_R2' to identify the forward/reverse read file respectively. SampleID must correspond to the first column in the file Sample_accessions.tsv here.