Coder Social home page Coder Social logo

osercinoglu / pdb2fasta Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexholehouse/pdb2fasta

0.0 1.0 0.0 208 KB

Take a PDB file and spit out protein sequence in 3 or 1 letter format

License: GNU General Public License v2.0

Shell 9.22% Python 90.78%

pdb2fasta's Introduction

pdb2fasta

Current version 0.2

Take a PDB file and spit out protein sequence in 3 or 1 letter format.

Usage

pdb2fasta -f <pdbfile> [-c <chain>] [-t] 

Arguments

-f PDB file (required argument)

-c [optional] Defines the chain in PDB file to print (useful if a PDB file contains several proteins

-t [optional] Print three letter code instead of 1 letter code

-a [optional] Print the output in the CAMPARI sequence file format

Examples

Print all amino acid residues in the file with their one letter code

pdb2fasta -f file.pdb  

Print the number and names of the chains in the PDB file

pdb2fasta -c file.pdb 

Prints the amino acid residues in chain A in the PDB file

pdb2fasta -f file.pdb -c A 

Print the amino acid sequence, ignoring non-standard amino acids (DANGEROUS)

pdb2fasta -f file.pdb 2>/dev/null

About

This code was written by Alex Holehouse as part of the Pappu Lab. For more information contact [email protected]. For bug fixes please file a pull request.

pdb2fasta's People

Contributors

alexholehouse avatar

Watchers

Onur Serçinoğlu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.