Skip to content

Quality control of BBS data #16

@mdavy86

Description

@mdavy86

This is a placeholder to discuss what we are doing in terms of Quality control of BBS data

Plant and Food Research

We have some perl scripts, knitr Rmarkdown scripts, and a shiny application looking at quality control aspects of GBS restriction sites for bam alignments.

The shiny application does some exploratory analysis summarizing 96 wells * 2 bam files for ~1.5 Million restriction sites/tags in real time checking the sampled yield distributions versus the known population of restriction sites for samples, investigatng coverage depth, and fragment distribution before considering SNP discovery.

The perl script sanity checks restriction fragments (probably unnecessary), and summarises sites in the following form;

$ perl gbsSites.pl
NAME
    gbsSites.pl - BAM to location terminal ends

DESCRIPTION
    Process a bam file for GBS restriction sites

SYNOPSIS
     gbsSites.pl [options]

    Where options and [defaults] are:

     -bam <BAM file>    Path to a bam file. Multiple options allowed      []

     -enzyme <Enzyme name> Which restriction enzyme? BamHI, ApeKI etc     [BamHI]

     -format < narrow|wide > Options: 'wide' or 'narrow' formats          [wide]

     -out <output file> Filename for tab delimited report                 [report.txt]

## Example output
Sample  Chromosome      cutSite Count   fwdCount        revCompCount
[BAMFile]   1       8312    1       0       1
[BAMFile]   1       17201   340     340     0
[BAMFile]   1       33026   2       0       2
[BAMFile]   1       35031   1       1       0
[BAMFile]   1       50458   54      0       54

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions