Git Product home page Git Product logo

quality_control's Introduction

QC pipeline

Run this pipeline to get initial quality control for new sequence lanes.

To Run

Download the reference genome.

This can be done by running

wget ftp://ftp.ensemblgenomes.org/pub/plants/release-27/fasta/zea_mays/dna//Zea_mays.AGPv3.27.dna.genome.fa.gz

on most unix systems. You may need to use curl instead on a OSX.

Move the reference into the data directory and rename as ref.fasta.gz (keep the reference gzipped). Then run:

sbatch -p <queue> ref.sh

This will index the reference for you.

Quality Control of fastq

For quality control, then run:

while read r1 r2; do sbatch -p <queue> qc.sh $r1 $r2; done < list.txt

Where list.txt is a file with the full path to read1 and read2 on a single line separated by white space. If you have multiple lanes you want to run simultaneously, then each line of the file should have read1 and read2 separated by white space.

Ideally this should be run on gzipped fastq files.

The script will create a directory of summaries named after each file in the results directory, with an html output called fastqc_report.html in each directory. The initial quality report will also list over-represented sequences, which should include adapters if there is considerable adapter contamination.

To test

Run with test_r1.fastq.gz and test_r2.fastq.gz

quality_control's People

Contributors

rossibarra avatar

Stargazers

Asif Zubair avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.