Giter VIP home page Giter VIP logo

denniscaudell / kentutils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from encode-dcc/kentutils

0.0 1.0 0.0 220.39 MB

UCSC command line bioinformatic utilities

Home Page: http://genome.cse.ucsc.edu/index.html

Makefile 1.69% Shell 3.24% C 86.38% C++ 0.06% AngelScript 1.75% Pep8 0.01% Perl 5.13% Python 0.18% Gnuplot 0.65% PostScript 0.01% Awk 0.04% Objective-C 0.01% HTML 0.69% PLSQL 0.09% Roff 0.03% Java 0.03% Pascal 0.01% Tcl 0.02% PHP 0.01% Perl 6 0.01%

kentutils's Introduction

kentUtils

PLEASE NOTE: This repository is not the UCSC Genome Browser source code repo, but an outdated collection of some UCSC binary tools from 2014 used by the ENCODE DCC. For up to date source and binary images please refer to:

http://hgdownload.soe.ucsc.edu/downloads.html#source_downloads

http://hgdownload.soe.ucsc.edu/admin/exe/

https://github.com/ucscGenomeBrowser/kent

These are only the command line bioinformatic utilities from the kent source tree. This is not the genome browser install. For the genome browser install, see instructions:

http://genome.ucsc.edu/goldenPath/help/mirror.html

System Requirements

These procedures expect the 'git' command to be available.

It is best to install these packages with your standard operating system package management tools. See also: notes below about installing packages.

Download source

Obtain a read-only copy of the source:

git clone git://github.com/ENCODE-DCC/kentUtils.git

Creates the directory: ./kentUtils/

Build utilities

In the directory kentUtils/ run a 'make' command:

cd kentUtils
make

The resulting binaries are placed in the directory: ./bin/

Note: there are no required shell environment settings as discussed
    in the genome browser build instructions.  In fact, this build
    system will ignore and override any shell environment settings
    you may have for the genome browser build environment.

Install utilities

The binaries are built into ./bin/

To install them in a global bin/ directory, copy them to a desired location, for example:

sudo rsync -a -P ./bin/ /usr/local/bin/kentUtils/

The destination bin/kentUtils/ should be its own unique directory to avoid overwriting same-named binaries in a standard bin/ directory.

Users add '/usr/local/bin/kentUtils' to their shell PATH to access the commands.

Update utilities

This procedure expects the 'git' command to be available.

With the 'git' command available, the 'make update' will refresh the source tree and rebuild. In this directory:

make update

This runs a 'make clean' in the source tree, runs a 'git pull' update for the source, then runs a 'make utils' to rebuild everything.

Parasol

There are 'parasol' binaries built into ./src/parasol/bin/ Use these binaries to set up a job control system on a compute cluster or large machine with many CPU cores. See also: parasol README for more information. The usage messages from each command will help with the setup.

Documentation

Each 'kent' command contains its own documentation. Simply run the commands without any arguments to see the usage message for operating instructions.

When the utilities are built here, their usage messages have been collected together in one file:

kentUtils.Documentation.txt

MySQL database access

Many of the commands can use the UCSC public MySQL server, or your own local MySQL server with UCSC data formats. Add these three lines to a file in your HOME directory called '.hg.conf' and set its permissions to: 'chmod 600 .hg.conf'

db.host=genome-mysql.cse.ucsc.edu
db.user=genomep
db.password=password

This '.hg.conf' file is used by the kent commands to determine the MySQL host and user/password to the database. For your local MySQL installation, use your host name and your read-only user/password names.

Installing required packages

On a MacOS system, you will need the XCode system installed.

And the Mac Ports install system.

With the Mac ports and XCode systems installed, you can install the additional packages required (and helpful):

sudo port install git-core gnutls rsync libpng mysql55 openssl curl wget

On a typical Linux system, for example Ubuntu, use the apt-get command to install additional packages:

sudo apt-get install git libssl-dev openssl mysql-client-5.1 mysql-client-core-5.1

Depending upon the version of your Linux/Ubuntu/CentOS operating system, the specific version of packages you need may be different than this example.

Please use your standard operating system package management install system (e.g. 'yum' on CentOS) to obtain correct versions of these packages for your specific operating system version.

See also:

Known Problems

Please advise UCSC if you have the recommended installed libraries and development system and this build will not function. email to: [email protected]. edu

  1. These procedures will not work as-is on sparc or alpha machines or with the Sun Solaris operating system.

Update history

  • 14 Mar 2018 - add note about this being obsolete and point to current sources
  • 16 Jul 2014 - brought up to date to version 302 source
  • 17 Dec 2013 - brought up to date from version version 286 to version 293 source

============================================================================

kentutils's People

Contributors

nullmodel avatar

Watchers

James Cloos 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.