Skip to content
a tool to identify species and inter-species hybrids and chromosome copy number variants from short-read data
R Python Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


sppIDer is a pipeline for looking at genome composition in hybrid genomes and checking for chromosomal copy variants in single species strains. is the main wrapper that calls established bioinformatic tools and custom scripts. This pipeline needs a combination reference genome and one or more short read (fastq) files.

The sppIDer docker image is a self-contained platform capable of executing its pipeline without requiring cumbersome managment and installation of prerequisite tools.

Changes to this source repo are automatically built into an updated docker image, available from docker hub at glbrc/sppider.

Additional detailed usage information is available in the sppIDer manual.

Getting Started

pipeline help/syntax:
docker run --rm -it glbrc/sppider [pipeline_script] --help

    pipeline scripts:
example: help
docker run --rm -it glbrc/sppider -h

    usage: [-h] --out OUT --ref REF --r1 R1 [--r2 R2] [--byBP]
    Run full sppIDer
    optional arguments:
      -h, --help  show this help message and exit
      --out OUT   Output prefix, required
      --ref REF   Reference Genome, required
      --r1 R1     Read1, required
      --r2 R2     Read2, optional
      --byBP      Calculate coverage by basepair, optional, DEFAULT, can't be used
                  with -byGroup
      --byGroup   Calculate coverage by chunks of same coverage, optional, can't
                  be used with -byBP

Pipeline Usage


  • The combination reference genome must be built first using The outputs can be used many times with with different data sets.
  • The main pipeline,, takes fastq input(s) and maps the reads to the combined reference genome made with
  • The pipeline then uses bioinfromatic tools and custom scripts to pares this output for where, how well, and how deeply the reads map to combined reference genome by species, chromosomes, and windows.
  • The output is several pdfs with plots of precentage and quality of reads mapped and plots for coverage by species and in windows. Addionally several summary text files are created.
  • All files are kept from intermediate steps and could be used in other anlyses.


  • Execute the container with a host volume mount, as shown below, to retrieve pipeline output files into the host machine's current working directory
  • Providing the example "--user" switch will write to output files using permissions of the host user
  • All input fastqs and reference files must be in the same directory. The output will be written to the working directory
  • The largest test dataset is 587.8Mb and took ~22 minutes to run with 4 cores and 8GB
example: executing a
docker run \
--rm -it \
--mount type=bind,src=$(pwd),target=/tmp/sppIDer/working \
--user "$UID:$(id -g $USERNAME)" \
glbrc/sppider \
  --out REF.fasta \ 
  --key KEY.txt

An optional --trim can be used to trim short uninformative contigs for reference genomes with many short contigs. All contigs shorter than the supplied interger will be ignored. The KEY.txt file must be tab delimited and the reference genome unique name cannot contain hyphens. See example.

example: executing a pipeline
docker run \
--rm -it \
--mount type=bind,src=$(pwd),target=/tmp/sppIDer/working \
--user "$UID:$(id -g $USERNAME)" \
glbrc/sppider \ \
  --out OUT \
  --ref REF.fasta \
  --r1 R1.fastq \
  --r2 R2.fastq

An optional --byGroup flag can be used for very large combination genomes. This produce a bedfile that doesn't have coverage information for each basepair but by groups. Which speeds up the run.

For mitoSppIDer
example: executing
docker run \
--rm -it \
--mount type=bind,src=$(pwd),target=/tmp/sppIDer/working \
--user "$UID:$(id -g $USERNAME)" \
glbrc/sppider \
  --out REF.gff \ 
  --key GFF_KEY.txt
example: executing a pipeline
docker run \
--rm -it \
--mount type=bind,src=$(pwd),target=/tmp/sppIDer/working \
--user "$UID:$(id -g $USERNAME)" \
glbrc/sppider \ \
  --out OUT \
  --ref MITO_REF.fasta \
  --r1 R1.fastq \
  --r2 R2.fastq

An optional --gff can be used if you are providing a combined gff of the regions that should be marked on the final plots.

System Requirements

This pipeline has been tested CentOS 7.5 (1804) running Docker Community Edition (CE) Stable.

You can’t perform that action at this time.