Skip to main content

No project description provided

Project description

FastA index (.fai) handler compatible with samtools faidx. .fai is extended with 4 columns storing counts for A, C, G & T for each sequence.

Usage

Dependencies

  • Python 2.7

Parameters

-h, --help

show this help message and exit

--version

show program’s version number and exit

-v, --verbose

verbose

-i FASTA, --fasta FASTA

FASTA file(s)

-o OUT, --out OUT

output stream [stdout]

-r REGIONS, --regions REGIONS

contig(s) or contig region(s) to output (returns reverse complement if end larger than start)

-N N

calculate NXX and exit ie N50

-L L

calculate LXX and exit ie L50

-S, --stats

return FastA stats aka fasta_stats

Examples

# retrieve sequence of scaffold00001 starting at 100 and ending at 200 base (0-based)
FastaIndex -i contigs.fa -r 'scaffold00001:100-200'

# retrieve reverse complement of the same region
FastaIndex -i contigs.fa -r 'scaffold00001:200-100'

# calculate N50 of FastA file
FastaIndex -i contigs.fa -N50

# more statistics of FastA file
FastaIndex -i contigs.fa -S
# or
fasta_stats -i contigs.fa

Installation

sudo pip install -U FastaIndex

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FastaIndex-0.11rc7.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

FastaIndex-0.11rc7-py2-none-any.whl (9.5 kB view details)

Uploaded Python 2

File details

Details for the file FastaIndex-0.11rc7.tar.gz.

File metadata

File hashes

Hashes for FastaIndex-0.11rc7.tar.gz
Algorithm Hash digest
SHA256 c130a2146bb178ea4f9d228e0d360787046ab4cb0ab53b5b43711dd57e31aff7
MD5 882c973d968d9db596edfd0fbb07e3a8
BLAKE2b-256 224879bd2a63321fca01e68383eb6b681964d365cebdf83bf357674bf2f2839b

See more details on using hashes here.

File details

Details for the file FastaIndex-0.11rc7-py2-none-any.whl.

File metadata

File hashes

Hashes for FastaIndex-0.11rc7-py2-none-any.whl
Algorithm Hash digest
SHA256 2f7fa2c86c39b11a9a8c545ed1cd9d9bc16faa3758dfdebe800766ab41e04132
MD5 d51eb93e3597f532d13048630430a3a2
BLAKE2b-256 ee242da46550b77abc0a546deb81a8a43df403a0ae224ed052081eea0fc4a57d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page