audy / Forage

grep for nucleotides

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forage

Grep for Nucleotide FASTA files. Converts IUPAC ambiguous nucleotides to regex.

Request a feature (it's free!)

Installation

(sudo) gem install forage

Usage

bin/forage.rb sequences.fasta GAAYYAATTACAANA-B > output

This will print any sequence that matches the query. If there is more than one match, then multiple fasta records will be printed (each with an increasing number in the header).

About

grep for nucleotides

License:MIT License


Languages

Language:Ruby 100.0%