Giter Site home page Giter Site logo

fastq_corrupt_check's Introduction

fastq_corrupt_check

Check a FASTQ file to see if it is corrupt

Usage:

fastq_corrupt_check can accept any number of fastq files, and will check all files mentioned after perl fastq_corrupt_check.pl

perl fastq_corrupt_check.pl file1 file2

where each file has fastq or fq at the end, with no compression, gz compression, or bz2 compression.

perl fastq_corrupt_check.pl file.fastq.bz2 file0.fq.gz file1.fastq

How it Works

This short program was inspired by FastQC, which did not check for file corruption. fastq_corrupt_check.pl checks to ensure that Fastq files are not corrupted. Each entry in a Fastq file has 4 lines. The fastq file should have the following properties:

* The 2nd line should only consist of A, C, G, T, and/or N
* The length of the 4th line matches the length of the 2nd line
* The 3rd line must start with a '+'
* The file should have an integral multiple of 4 number of lines.

This program is not complicated. It is meant as a timesaver. I am putting it here because FastQC didn't noticed that a file was corrupted in transfer.

fastq_corrupt_check's People

Contributors

hhg7 avatar rhinogradentia 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.