junyinglim / TranscriptResolver

2 stars 0 forks source link

TranscriptResolver

Author

Jun Ying Lim

Department of Integrative Biology and UC Museum of Paleontology, University of California, Berkeley

Description

TranscriptResolver

Different consensus methods:

TranscriptPrepare

TranscriptClean

Installation

Python packages

You will require a number of python packages to run this. You can do this by using the pip installer. If you're running Python 3, pip should be by default installed. Input the following in Terminal

pip3 install fuzzywuzzy numpy pandas nltk python-Levenshtein pymysql biopython

Other binaries

The string consensus functions use the sequence alignment algorithms provided in MAFFT. You will have to install mafft into the directory /usr/local/bin

If you have homebrew installed, you can install it as so: brew install mafft

Usage

To run TranscriptResolver in Terminal, you simply need to cd to the folder containing TranscriptResolver and:

python3 transcriptResolver.py

The program will prompt you on the necessary parameters. You can also supply them directly in terminal.

python3 transcriptResolver.py -wd <yourworkingdir> -file <yourfile> -stem <yourstemname> -col_id UNIQUE_ID -col_target [<field1>,<field2>] -col_method [<method1>,<method2>]

Contact

Feel free to contact me (junyinglimberkeley.edu) if you have any questions or need help with installation!