Sign inSign up

zymoresearch/pfind

By zymoresearch

Updated about 6 years ago

Find primer coordinates for bisulfite amplicon sequences

Image
0

1.6K

zymoresearch/pfind repository overview

Amplicon Dropout Report

###Docker Container Command docker run --name amplicon_dropout -t
-v /var/lib/docker/epiquest:/mnt
-v /scripts/EpiQuest_py:/usr/share/EpiQuest_py
-v /scripts/dropout-report:/usr/share/dropout-report
jinmingda/zymo-dropout-docker ... Dockerfile is available at https://github.com/jinmingda/zymo-dropout-docker.

###dropout_launch_ec2.py usage: dropout_launch_ec2.py [-h] [-t INSTANCE_TYPE] project_name

Launch EC2 instance and run dropout_pipeline for project.

positional arguments:
  project_name      Targeted sequencing project name. eg. zr1172

optional arguments:
  -h, --help        show this help message and exit
  -t INSTANCE_TYPE  EC2 instance type. (Default: r3.2xlarge)

###dropout_pipeline.py usage: dropout_pipeline.py [-h] [--cutoff CUTOFF] [--read-pos-shift READ_POS_SHIFT] [--primer-cutoff PRIMER_CUTOFF] [--score-cutoff SCORE_CUTOFF] [--bam-dir BAM_DIR] [-l {full,pre_barcharts,post_heatmap,heatmap,bamfiles,barcharts}] [-u] [-o OUT_DIR] project_name

Execute dropout_heatmap, dropout_bamfiles and dropout_barcharts in pipeline.

positional arguments:
  project_name          Targeted sequencing project name. eg. zr1172

optional arguments:
  -h, --help            show this help message and exit
  --cutoff CUTOFF       [HEATMAP]The minimum number of reads required for an
                        valid amplicon. (Default: 10)
  --read-pos-shift READ_POS_SHIFT
                        [HEATMAP]The maximum position shift allowed between
                        amplicon start/end coordinates and actual read
                        start/end coordinates. (Default: 0)
  --primer-cutoff PRIMER_CUTOFF
                        [BAMFILES]The maximum number of mismatches and gaps
                        allowed in the first 20 base pairs of a sequencing
                        read. (Default: 3)
  --score-cutoff SCORE_CUTOFF
                        [BAMFILES]The minimum score per base pair that a
                        read/amplicon pairwise alignment should have.
                        (Default: 4 out of 5)
  --bam-dir BAM_DIR     [BARCHARTS]The directory where the bam files of
                        unmapped reads are. (Default: /mnt/dropout_bamfiles)
  -l {full,pre_barcharts,post_heatmap,heatmap,bamfiles,barcharts}
                        Select level of executing pipeline scripts. (Default:
                        full)
  -u                    Toggle S3 upload.
  -o OUT_DIR            The output directory. (Default: /mnt)

###dropout_heatmap.py usage: dropout_heatmap.py [-h] [-c CUTOFF] [-t READ_POS_SHIFT] [-u] [-o OUT_DIR] project_name

Draw heatmap to visualize mapped reads distribution among all samples and
amplicons.

positional arguments:
  project_name       Targeted sequencing project name. eg. zr1172

optional arguments:
  -h, --help         show this help message and exit
  -c CUTOFF          The minimum number of reads required for an valid
                     amplicon. (Default: 10)
  -t READ_POS_SHIFT  The maximum position shift allowed between amplicon
                     start/end coordinates and actual read start/end
                     coordinates. (Default: 0)
  -u                 Toggle S3 upload.
  -o OUT_DIR         The output directory. (Default: /mnt)

###dropout_bamfiles.py usage: dropout_bamfiles.py [-h] [-p PRIMER_CUTOFF] [-c SCORE_CUTOFF] [-u] [-o OUT_DIR] project_name

Perform analysis and create bam files for the unmapped reads across samples.

positional arguments:
  project_name      Targeted sequencing project name. eg. zr1172

optional arguments:
  -h, --help        show this help message and exit
  -p PRIMER_CUTOFF  The maximum number of mismatches and gaps allowed in the
                    first 20 base pairs of a sequencing read. (Default: 3)
  -c SCORE_CUTOFF   The minimum score per base pair that a read/amplicon
                    pairwise alignment should have. (Default: 4 out of 5)
  -u                Toggle S3 upload.
  -o OUT_DIR        The output directory. (Default: /mnt)

###dropout_barcharts.py usage: dropout_barcharts.py [-h] [-b BAM_DIR] [-u] [-o OUT_DIR] project_name

Draw stacked bar charts for each amplicon to visualize issues that cause
dropout.

positional arguments:
  project_name  Targeted sequencing project name. eg. zr1172

optional arguments:
  -h, --help    show this help message and exit
  -b BAM_DIR    The directory where the bam files of unmapped reads are.
                (Default: /mnt/dropout_bamfiles)
  -u            Toggle S3 upload.
  -o OUT_DIR    The output directory. (Default: /mnt)

Tag summary

Content type

Image

Digest

Size

359.2 MB

Last updated

about 6 years ago

docker pull zymoresearch/pfind