Project

fasta_util

0.0
No commit activity in last 3 years
No release in over 3 years
Easy fasta filtering, wrapping, calculating common statistics, sorting etc. Based on the fasta_tool script that I think was written by Jason Stajich.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 1.5.2
>= 0
>= 1.2.3

Runtime

>= 1.4.1
>= 0.14.6
 Project Readme

Fasta Utility¶ ↑

This is a pretty simple Thor application for performing a number of common tasks on fasta files.

So far, supported actions are:

fasta_util lengths

Calculates basic statistics on the lengths of the entries in the file.

fasta_util filter

Applies a variety of filter types to the entries in a fasta file.

fasta_util clean

Reformats each entry, wrapping long lines

fasta_util sort

Sorts the entries in a fasta file according to length.

Detailed help on each of the options can be accessed with

fasta_util help COMMAND

eg:

$ fasta_util help filter

Usage:
  fasta_util filter FILENAME [options]

Options:
  -l, [--length-cutoff=N]            # Only entries with length >= cutoff will be returned.
                                     # Default: 0
  -v, [--inverse-match]              # Return the inverse of the match after all the other filters have been applied.
  -d, [--defline-grep=DEFLINE_GREP]  # A regular expression, used to search the entry's definition line.

Description:
  Impose a filter or set of filters on entries in a fasta file where each sequence in the file has to pass all of the filters to be printed.

Copyright © 2011 Robert Syme. MIT Licence. See LICENSE.txt for further details.