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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file FastaIndex-0.11rc7.tar.gz.
File metadata
- Download URL: FastaIndex-0.11rc7.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c130a2146bb178ea4f9d228e0d360787046ab4cb0ab53b5b43711dd57e31aff7
|
|
| MD5 |
882c973d968d9db596edfd0fbb07e3a8
|
|
| BLAKE2b-256 |
224879bd2a63321fca01e68383eb6b681964d365cebdf83bf357674bf2f2839b
|
File details
Details for the file FastaIndex-0.11rc7-py2-none-any.whl.
File metadata
- Download URL: FastaIndex-0.11rc7-py2-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f7fa2c86c39b11a9a8c545ed1cd9d9bc16faa3758dfdebe800766ab41e04132
|
|
| MD5 |
d51eb93e3597f532d13048630430a3a2
|
|
| BLAKE2b-256 |
ee242da46550b77abc0a546deb81a8a43df403a0ae224ed052081eea0fc4a57d
|