Pre-release
This release is a pre-release and may not be stable for production use.
FastaIndex
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
Metadata
Release files for FastaIndex 0.11rc7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| FastaIndex-0.11rc7.tar.gz | 20.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| FastaIndex-0.11rc7-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 29.6 kB
Release files / FastaIndex-0.11rc7.tar.gz
| Download URL | FastaIndex-0.11rc7.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c130a2146bb178ea4f9d228e0d360787046ab4cb0ab53b5b43711dd57e31aff7
|
|
BLAKE2b-256 checksum How to use checksums |
224879bd2a63321fca01e68383eb6b681964d365cebdf83bf357674bf2f2839b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / FastaIndex-0.11rc7-py2-none-any.whl
| Download URL | FastaIndex-0.11rc7-py2-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
2f7fa2c86c39b11a9a8c545ed1cd9d9bc16faa3758dfdebe800766ab41e04132
|
|
BLAKE2b-256 checksum How to use checksums |
ee242da46550b77abc0a546deb81a8a43df403a0ae224ed052081eea0fc4a57d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |