FastaIndex-0.11rc7
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | FastaIndex-0.11rc7 |
| نام | FastaIndex |
| نسخه کتابخانه | 0.11rc7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Leszek Pryszcz |
| ایمیل نویسنده | l.p.pryszcz+distutils@gmail.com |
| آدرس صفحه اصلی | https://github.com/lpryszcz/FastaIndex |
| آدرس اینترنتی | https://pypi.org/project/FastaIndex/ |
| مجوز | GPLv2 |
FastaIndex
==========
FastA index (.fai) handler compatible with `samtools faidx <http://www.htslib.org/doc/faidx.html>`_.
.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
~~~~~~~~
.. code-block:: bash
# 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
------------
.. code-block:: bash
sudo pip install -U FastaIndex
نحوه نصب
نصب پکیج whl FastaIndex-0.11rc7:
pip install FastaIndex-0.11rc7.whl
نصب پکیج tar.gz FastaIndex-0.11rc7:
pip install FastaIndex-0.11rc7.tar.gz