Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.477.546 Times

pyfasta 0.4.1

Company: brentp
Date Added: August 13, 2013  |  Visits: 347

pyfasta

Report Broken Link
Printer Friendly Version


Product Homepage
Download (41 downloads)

Pythonic access to fasta sequence files<br /><br />pyfasta is a library that offers Pythonic access to fasta sequence files.<br />Usage:<br /><br /><br />.. sourcecode:: python<br /><br />>>> from pyfasta import Fasta<br /><br />>>> f = Fasta('tests/data/three_chrs.fasta')<br />>>> sorted(f.keys())<br />['chr1', 'chr2', 'chr3']<br /><br />>>> f['chr1']<br />FastaGz('tests/data/three_chrs.fasta.gz', 0..80)<br /><br />>>> f['chr1'][:10]<br />'ACTGACTGAC'<br /><br /># the index stores the start and stop of each header from teh fasta file<br />>>> f.index<br />{'chr3': (160, 3760), 'chr2': (80, 160), 'chr1': (0, 80)}<br /><br /><br /># can query by a 'feature' dictionary<br />>>> f.sequence({'chr': 'chr1', 'start': 2, 'stop': 9})<br />'CTGACTGA'<br /><br /># with reverse complement for - strand<br />>>> f.sequence({'chr': 'chr1', 'start': 2, 'stop': 9, 'strand': '-'})<br />'TCAGTCAG'<br /><br /><br /># creates a .gz and a .gdx pickle of the fasta and the index.<br />>>> import os<br />>>> sorted(os.listdir('tests/data/'))[1:]<br />['three_chrs.fasta', 'three_chrs.fasta.gdx', 'three_chrs.fasta.gz']<br /><br /># cleanup (though for real use these will remain for faster access)<br />>>> os.unlink('tests/data/three_chrs.fasta.gdx')<br />>>> os.unlink('tests/data/three_chrs.fasta.gz')

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Access Complement Creates Fasta Import Pickle Python Pythonic Reverse Sequence Strandgtgtgt
Users rating: 0/10

License: Freeware Size: 10.24 KB
PYFASTA RELATED
Libraries  -  Python Call Graph 0.4.0
Python Call Graph (pycallgraph) is a Python library that creates call graphs for Python programs pycallgraph is quite new. It seems to work well and I will most likely improve it in the near future!. Gravit is a free gravity simulator.
4.1 KB  
Libraries  -  pymssql 0.8.0
pymssql module provides access to MS SQL Servers from Python scripts. Its the most efficient method of accessing MS SQL Servers data from Python scripts. If you care about performance, you can give it a try. Supported Platforms pymssql 0.7.4...
153.6 KB  
Libraries  -  Bio::Tools::Run::PiseApplication::fasta 1.4
Bio::Tools::Run::PiseApplication::fasta is a Bioperl class for sequence database search. Parameters: fasta (Excl) Fasta program query (Sequence) Query sequence File pipe: seqfile seqtype (Excl) Is it a DNA or protein sequence (-n)...
82.94 KB  
Security Tools  -  Trusted Pickle - Python module 1.0
TrustedPickle is a Python module which lets you create and sign your data files. By using public/private key techniques, this module protects your users from loading malicious data files that others might claim you created. LEGAL FOR EXPORT.
41 KB  
Libraries  -  magpy 0.3.0
Magpy is a Python wrapper for the mg search engine. magpy module features fast full text sarch, indexing and boolean queries. Both mg and magpy are released under the GPL (General Public License). Installation: To install magpy from...
327.68 KB  
Development Editors  -  Access Assistant 1.0
If you distribute your software with a runtime version of Access or expecting the full version of Microsoft Access on the user's system, you can get mixed results if your application does not open with the correct version of Access. Access...
1.82 MB  
Miscellaneous  -  First Class Enums in Python 1.6
This script allows you to do true immutable symbolic enumeration with qualified value access. Most propoqualifiedor an enum in python attempt to solve the issue with a single class. However, fact is that enum has a dual nature: It declares a new...
 
Programming  -  Pydelicious 0.6
pydelicious allows you to access the web service of del.icio.us via it's API using Python. >>> from pydelicious import DeliciousAPI >>> from getpass import getpass >>> a = DeliciousAPI('username', getpass('Password:'))
51.2 KB  
Programming  -  pyxmldsig 0.03
pyxmldsig is a Python library to create and verify XML Digital Signatures (XML-DSig). This is a simple interface to the PyXMLSec library, aiming to provide a more pythonic API suitable for Python applications. This code is inspired from...
10.24 KB  
Programming  -  greatape 0.2.2
greatape is a minimalist client library for version 1.2 of the MailChimp API, written in Python. It was very much inspired by Mike Verdone's `Twitter client library`_ in that it does a bit of mucky, dynamic business with __getattr__ to avoid...
10.24 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB