Giter Club home page Giter Club logo

mask_fastq's Introduction

mask_fastq

There is a Perl and Python version which esentially do the same.

mask_fastq.pl

Perl script that masks bases as "N"s given a PHRED quality threshold.

The program is loosely based on SubN published by Yun and Yun (2014). The main difference is that mask_fastq.pl can natively handle I/O compressed (gzipped) files and does not depend on any external modules.

Installation

git clone https://github.com/santiagosnchez/mask_fastq
cd mask_fastq
chmod +x mask_fastq.pl
sudo cp mask_fastq.pl /usr/local/bin

Running the code

Use the -h flag for more details:

perl mask_fastq.pl -h

#########################
# Running mask_fastq.pl #
#########################

Try:

perl mask_fastq.pl -f myseqs.fastq(.gz) [ -q PHRED_VALUE ]

mask_fastq.py

Download

wget https://raw.githubusercontent.com/santiagosnchez/mask_fastq/master/mask_fastq.py

Running the code

python mask_fastq.py my_fastq_file.fq.gz 55

The number at the end is the Phred quality score limit. By default it will be 50 (e.g. if not provided).

References

Yun, Sajung, & Yun, S. (2014). Masking as an effective quality control method for next-generation sequencing data analysis. BMC Bioinformatics, 15(1), 152โ€“8. http://doi.org/10.1186/s12859-014-0382-2

mask_fastq's People

Contributors

santiagosnchez avatar

Watchers

 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.