Skip to content

BejaLab/opsintools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opsintools

This project contains a set of tools for analysis of opsin structures and sequences.

Each tool has an API and a CLI. Keep in mind that the interfaces might change in the future since the project is under active development.

Installation

There are python and non-python dependencies: the most straightforward installation is via conda which takes care of both.

conda

Use the provided environment definition: conda env create -n opsintools -f env.yaml and then conda activate opsintools.

pypi

opsintools and its python dependencies can be installed with pip install git+https://github.com/BejaLab/opsintools. Non-python dependencies should then be installed separately. As of now these include:

opsinmap3d

Opsin homology based on protein structures. The input is an opsin structure in PDB format and a suitable reference dataset (can be dowloaded from opsintools-build), the output is the mapping between positions in the query and the positions in the reference in the transmembrane regions. Both the CLI and the API generate output files located in the specified directory:

  • aln_to_ref.txt - alignment of the query to the reference
  • trimmed.pdb - trimmed query structure
  • t_coffee.aln - structural alignment
  • t_coffee.aln.score_ascii - alignment scores
  • t_coffee.aln.log - structural alignment log
  • opsinmap.json - json file with the position mapping

The API function opsinmap3d returns the dictionary mapping reference positions to the query positions as its output.

See opsinmap3d -h or from opsintools import opsinmap3d; help(opsinmap3d) for more details.

opsinalign3d

A user-friendly wrapper for running t-coffee on a set of PDB files and parsing the results. The output is an object of the custom class Tcoffee. The output directory will contain:

  • t_coffee.aln - structural alignment
  • t_coffee.log - structural alignment log

See opsinalign3d -h or from opsintools import opsinalign3d; help(opsinalign3d) for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages