bio-ucsc-util 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rvmrc ADDED
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
+ # development environment upon cd'ing into the directory
5
+
6
+ # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
7
+ environment_id="ruby-1.9.2-p290@ucsc-util"
8
+
9
+ #
10
+ # First we attempt to load the desired environment directly from the environment
11
+ # file. This is very fast and efficient compared to running through the entire
12
+ # CLI and selector. If you want feedback on which environment was used then
13
+ # insert the word 'use' after --create as this triggers verbose mode.
14
+ #
15
+ if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
16
+ && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
17
+ then
18
+ \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
19
+
20
+ if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
21
+ then
22
+ . "${rvm_path:-$HOME/.rvm}/hooks/after_use"
23
+ fi
24
+ else
25
+ # If the environment file has not yet been created, use the RVM CLI to select.
26
+ if ! rvm --create use "$environment_id"
27
+ then
28
+ echo "Failed to create RVM environment ''."
29
+ fi
30
+ fi
31
+
32
+ #
33
+ # If you use an RVM gemset file to install a list of gems (*.gems), you can have
34
+ # it be automatically loaded. Uncomment the following and adjust the filename if
35
+ # necessary.
36
+ #
37
+ # filename=".gems"
38
+ # if [[ -s "$filename" ]] ; then
39
+ # rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
40
+ # fi
41
+
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "ffi"
4
+
5
+ group :test do
6
+ gem "shoulda", ">= 0"
7
+ gem 'shoulda-context'
8
+ gem "simplecov"
9
+ end
10
+
11
+ group :development do
12
+ gem "rdoc", "~> 3.12"
13
+ gem "bundler", "~> 1.0"
14
+ gem "jeweler", "~> 1.8.3"
15
+ end
@@ -0,0 +1,41 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activesupport (3.2.6)
5
+ i18n (~> 0.6)
6
+ multi_json (~> 1.0)
7
+ ffi (1.1.0)
8
+ git (1.2.5)
9
+ i18n (0.6.0)
10
+ jeweler (1.8.4)
11
+ bundler (~> 1.0)
12
+ git (>= 1.2.5)
13
+ rake
14
+ rdoc
15
+ json (1.7.3)
16
+ multi_json (1.3.6)
17
+ rake (0.9.2.2)
18
+ rdoc (3.12)
19
+ json (~> 1.4)
20
+ shoulda (3.1.1)
21
+ shoulda-context (~> 1.0)
22
+ shoulda-matchers (~> 1.2)
23
+ shoulda-context (1.0.0)
24
+ shoulda-matchers (1.2.0)
25
+ activesupport (>= 3.0.0)
26
+ simplecov (0.6.4)
27
+ multi_json (~> 1.0)
28
+ simplecov-html (~> 0.5.3)
29
+ simplecov-html (0.5.3)
30
+
31
+ PLATFORMS
32
+ ruby
33
+
34
+ DEPENDENCIES
35
+ bundler (~> 1.0)
36
+ ffi
37
+ jeweler (~> 1.8.3)
38
+ rdoc (~> 3.12)
39
+ shoulda
40
+ shoulda-context
41
+ simplecov
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Nicholas A. Thrower
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,49 @@
1
+ = bio-ucsc-util
2
+
3
+
4
+ Ruby FFI binding and implementation of the ucsc utilities. The C source can be found here:
5
+ http://hgdownload.cse.ucsc.edu/admin/
6
+
7
+ More information about the ucsc genome browser data formats can be found here:
8
+ http://genome.ucsc.edu/FAQ/FAQformat.html
9
+
10
+ The following utilities are available
11
+
12
+ - bedGraphToBigWig
13
+ - wigToBigWig
14
+ - bigWigInfo
15
+ - bigWigSummary
16
+
17
+ == Usage
18
+
19
+ The Util class is used for the base conversion utilities:
20
+
21
+ Bio::Ucsc::Util.wigToBigWig('my.wig','chrom.sizes','out.bw')
22
+
23
+ The BigWig class can be used to open and interact with the binary files:
24
+
25
+ bw = Bio::Ucsc::BigWig.open('out.bw')
26
+ bw.info
27
+ bw.summary('chr1',1,10,10,'mean')
28
+
29
+ For more details see the Bio::Ucsc::Util and Bio::Ucsc::BigWig classes
30
+
31
+ == Contributing to bio-ucsc-util
32
+
33
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
34
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
35
+ * Fork the project.
36
+ * Start a feature/bugfix branch.
37
+ * Commit and push until you are happy with your contribution.
38
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
39
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
40
+
41
+ == Dependencies
42
+
43
+ * FFI (github.com/ffi/ffi)
44
+
45
+ == Copyright
46
+
47
+ Copyright (c) 2012 Nicholas A. Thrower. See LICENSE.txt for
48
+ further details.
49
+
@@ -0,0 +1,44 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "bio-ucsc-util"
18
+ gem.homepage = "http://github.com/throwern/bio-ucsc-util"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Ruby binding to the ucsc kent utilities}
21
+ gem.description = %Q{Ruby FFI binding and implmentation of the ucsc utilities: bigWigInfo, bigWigSummary and wigToBigWig}
22
+ gem.email = "throwern@msu.edu"
23
+ gem.authors = ["throwern"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rake/testtask'
29
+ Rake::TestTask.new(:test) do |test|
30
+ test.libs << 'lib' << 'test'
31
+ test.pattern = 'test/**/test_*.rb'
32
+ test.verbose = true
33
+ end
34
+
35
+ task :default => :test
36
+
37
+ require 'rdoc/task'
38
+ Rake::RDocTask.new do |rdoc|
39
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
40
+ rdoc.rdoc_dir = 'rdoc'
41
+ rdoc.title = "bio-ucsc-util #{version}"
42
+ rdoc.rdoc_files.include('README*')
43
+ rdoc.rdoc_files.include('lib/**/*.rb')
44
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
@@ -0,0 +1,75 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "bio-ucsc-util"
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["throwern"]
12
+ s.date = "2012-08-07"
13
+ s.description = "Ruby FFI binding and implmentation of the ucsc utilities: bigWigInfo, bigWigSummary and wigToBigWig"
14
+ s.email = "throwern@msu.edu"
15
+ s.extensions = ["ext/ucsc-util/mkrf_conf.rb"]
16
+ s.extra_rdoc_files = [
17
+ "LICENSE.txt",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ ".rvmrc",
23
+ "Gemfile",
24
+ "Gemfile.lock",
25
+ "LICENSE.txt",
26
+ "README.rdoc",
27
+ "Rakefile",
28
+ "VERSION",
29
+ "bio-ucsc-util.gemspec",
30
+ "ext/ucsc-util/README",
31
+ "ext/ucsc-util/makefile",
32
+ "ext/ucsc-util/mkrf_conf.rb",
33
+ "ext/ucsc-util/ucsc-util-src-v268.tgz",
34
+ "lib/bio-ucsc-util.rb",
35
+ "lib/bio/ucsc/big_wig.rb",
36
+ "lib/bio/ucsc/binding.rb",
37
+ "lib/bio/ucsc/library.rb",
38
+ "lib/bio/ucsc/src/Version",
39
+ "lib/bio/ucsc/util.rb",
40
+ "test/1.bed",
41
+ "test/1.bw",
42
+ "test/1.wig",
43
+ "test/1_smoothed.bw",
44
+ "test/chrom.sizes",
45
+ "test/helper.rb",
46
+ "test/test_big_wig.rb"
47
+ ]
48
+ s.homepage = "http://github.com/throwern/bio-ucsc-util"
49
+ s.licenses = ["MIT"]
50
+ s.require_paths = ["lib"]
51
+ s.rubygems_version = "1.8.24"
52
+ s.summary = "Ruby binding to the ucsc kent utilities"
53
+
54
+ if s.respond_to? :specification_version then
55
+ s.specification_version = 3
56
+
57
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
58
+ s.add_runtime_dependency(%q<ffi>, [">= 0"])
59
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
60
+ s.add_development_dependency(%q<bundler>, ["~> 1.0"])
61
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
62
+ else
63
+ s.add_dependency(%q<ffi>, [">= 0"])
64
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
65
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
66
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
67
+ end
68
+ else
69
+ s.add_dependency(%q<ffi>, [">= 0"])
70
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
71
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
72
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
73
+ end
74
+ end
75
+
@@ -0,0 +1,142 @@
1
+ This README was copied from the the jksrc.zip: kent/ directory. It contains the license stating
2
+ src/lib, src/inc and src/utils directories are free for personal, academic, and commercial use.
3
+ These folders have been extracted into an archive for use by this rubygem.
4
+
5
+ The data was retrieved from:
6
+ http://hgdownload.cse.ucsc.edu/admin/jksrc.v268.zip
7
+
8
+ 3 of the original source files have modified code that relies on static (private) methods. New versions need to incorporate these changes.
9
+ See bigWigSmooth in:
10
+ -inc/bwgInternal.h
11
+ -inc/bigWig.h
12
+ -lib/bwgCreate.c
13
+
14
+ Also converted **environ calls to support OSX shared library in cheapcgi.h/c
15
+ #if defined __environ
16
+ extern char **environ;
17
+ INLINE char **getEnviron() {return environ;}
18
+ #else
19
+ #include <crt_externs.h>
20
+ INLINE char **getEnviron() { return (*_NSGetEnviron()); }
21
+ #endif
22
+
23
+ ---Original README below
24
+
25
+ CONTENTS AND COPYRIGHT
26
+
27
+ This directory contains the entire source tree for the
28
+ UCSC Genome Bioinformatics Group's suite of biological analysis
29
+ and web display programs as well as some of Jim Kent's own tools.
30
+ All files are copyrighted, but license is hereby granted for personal,
31
+ academic, and non-profit use. A license is also granted for the contents
32
+ of the src/lib, src/inc and src/utils and python directories for commercial
33
+ users. Commercial users should contact kent@soe.ucsc.edu for access to other
34
+ modules. Commercial users interested in the UCSC Genome Browser in particular
35
+ please see
36
+ http://genome.ucsc.edu/license/.
37
+
38
+ Most source code users will only be interested in the src/inc and
39
+ src/lib directories, which contain the interfaces and implementations
40
+ to the library routines, and in a few specific applications.
41
+ The applications are scattered in other directories. Many of them are web based.
42
+ The UCSC Genome Browser in particular is mostly found in src/hg/hgTracks.
43
+
44
+ GENERAL INSTALL INSTRUCTIONS
45
+
46
+ 1. Get the code. The best way to do this now for
47
+ Unix users is via Git following the instructions at:
48
+ http://genome.ucsc.edu/admin/git.html
49
+ Or, fetch the entire source in a single file:
50
+ http://hgdownload.cse.ucsc.edu/admin/jksrc.zip
51
+ Note further documentation for the build process in your
52
+ unpacked source tree in src/product/README.*
53
+ Especially note README.building.source and the "Known problems"
54
+ for typical situations you may encounter.
55
+ 2. Check that the environment variable MACHTYPE
56
+ exists on your system. It should exist on Unix/Linux.
57
+ (And making this on non-Unix systems is beyond
58
+ the scope of this README). The default MACHTYPE is often a
59
+ long string: "i386-redhat-linux-gnu"
60
+ which will not function correctly in this build environment.
61
+ It needs to be something simple such as one of:
62
+ i386 i686 sparc alpha x86_64 ppc etc ...
63
+ with no other alpha characters such as: -
64
+ To determine what your system reports itself as, try the
65
+ uname options: 'uname -m' or 'uname -p' or 'uname -a'
66
+ on your command line. If necessary set this environment variable.
67
+ Do this under the bash shell as so:
68
+ MACHTYPE=something
69
+ export MACHTYPE
70
+ or under tcsh as so:
71
+ setenv MACHTYPE something
72
+ and place this setting in your home directory .bashrc or .tcshrc
73
+ environment files so it will be set properly the next time you
74
+ login. Remember to "export" it as show here for the bash shell.
75
+ 3. Make the directory ~/bin/$MACHTYPE which is
76
+ where the (non-web) executables will go.
77
+ Add this directory to your path.
78
+ 4. Go to the src/lib directory. If it doesn't
79
+ already exist do a mkdir $MACHTYPE.
80
+ 5. Type make. On Alphas there will be
81
+ some warning messages about "crudeAli.c"
82
+ otherwise it should compile cleanly.
83
+ It's using gcc.
84
+ 6. Go to src/jkOwnLib and type make.
85
+ 7. Go to the application you want to make and type
86
+ make. (If you're not sure, as a simple test
87
+ go to src/utils/fixcr and type make,
88
+ then 'rehash' if necessary so your shell
89
+ can find the fixcr program in ~/bin/$(MACHTYPE).
90
+ The fixcr program changes Microsoft style
91
+ <CR><LF> line terminations to Unix style
92
+ <LF> terminations. Look at the "gotCr.c"
93
+ file in the fixCr directory, and then
94
+ do a "fixcr gotCr.c" on it.
95
+
96
+
97
+ INSTALL INSTRUCTIONS FOR BLAT
98
+
99
+ 1. Follow the general install instructions above.
100
+ 2. If you're on an alpha system do a:
101
+ setenv SOCKETLIB -lxnet
102
+ on Solaris do
103
+ setenv SOCKETLIB "-lsocket -lnsl"
104
+ on SunOS do
105
+ setenv SOCKETLIB "-lsocket -lnsl -lresolv"
106
+ on Linux you can skip this step.
107
+ 3. Execute make in each of the following directories:
108
+ src/gfServer
109
+ src/gfClient
110
+ src/blat
111
+ src/utils/faToNib
112
+
113
+ INSTALL INSTRUCTIONS FOR CODE USING THE BROWSER DATABASE
114
+ (and other code in the src/hg subdirectory)
115
+
116
+ 1. Follow the general install instructions above.
117
+ 2. Make the environment variable MYSQLINC point to
118
+ where MySQL's include files are. (On my
119
+ system they are at /usr/include/mysql.)
120
+ While you're at it set the MYSQLLIBS
121
+ variable to point to something like
122
+ /usr/lib/mysql/libmysqlclient.a -lz
123
+ When available, the commands: mysql_config --include
124
+ and mysql_config --libs
125
+ will display the required arguments for these environment settings.
126
+ 3. Execute make in src/hg/lib
127
+ 4. Execute make in the directory containing the
128
+ application you wish to build.
129
+ 5. See also: http://genome.ucsc.edu/admin/jk-install.html
130
+ and more documentation in this source tree about setting up
131
+ a working browser in README files:
132
+ src/product/README.building.source
133
+ src/product/README.local.git.source
134
+ src/product/README.mysql.setup
135
+ src/product/README.install
136
+ src/product/README.trackDb
137
+ src/hg/makeDb/trackDb/README
138
+ There are numerous README files in the source tree describing
139
+ functions or modules in that area of the source tree.
140
+ The src/README in particular should be read by anyone modifying
141
+ the C source code, and python/README by anyone modifying the Python.
142
+
@@ -0,0 +1,66 @@
1
+ include ../inc/common.mk
2
+ L += ${SOCKETLIB} -lm -lz
3
+
4
+ O = aliType.o annoColumn.o annoFilter.o annoFormatter.o annoFormatTab.o \
5
+ annoGrator.o annoGratorQuery.o annoOption.o annoRow.o annoStreamer.o annoStreamVcf.o \
6
+ apacheLog.o asParse.o axt.o axtAffine.o bamFile.o base64.o \
7
+ basicBed.o bbiRead.o bbiWrite.o bigBed.o binRange.o bits.o \
8
+ blastOut.o blastParse.o boxClump.o boxLump.o bPlusTree.o \
9
+ bwgCreate.o bwgQuery.o bwgValsOnChrom.o \
10
+ cda.o chain.o chainBlock.o chainConnect.o chainToAxt.o chainToPsl.o \
11
+ cheapcgi.o cirTree.o codebias.o colHash.o common.o correlate.o crTree.o \
12
+ dgRange.o diGraph.o dlist.o dnaLoad.o dnaMarkov.o dnaMotif.o dnaseq.o \
13
+ dnautil.o dtdParse.o dystring.o \
14
+ emblParse.o errCatch.o errabort.o \
15
+ fa.o ffAli.o ffScore.o filePath.o fixColor.o flydna.o fof.o \
16
+ font/mgCourier10.o font/mgCourier12.o font/mgCourier14.o font/mgCourier18.o \
17
+ font/mgCourier24.o font/mgCourier34.o font/mgCourier8.o font/mgHelvetica10.o \
18
+ font/mgHelvetica12.o font/mgHelvetica14.o font/mgHelvetica18.o font/mgHelvetica24.o \
19
+ font/mgHelvetica34.o font/mgHelvetica8.o font/mgHelveticaBold10.o font/mgHelveticaBold12.o \
20
+ font/mgHelveticaBold14.o font/mgHelveticaBold18.o font/mgHelveticaBold24.o \
21
+ font/mgHelveticaBold34.o font/mgHelveticaBold8.o font/mgSixhi6.o font/mgSail8.o \
22
+ font/mgTimes10.o font/mgTimes12.o font/mgTimes14.o font/mgTimes18.o \
23
+ font/mgTimes24.o font/mgTimes34.o font/mgTimes8.o font/mgMenlo12.o \
24
+ fuzzyShow.o \
25
+ gapCalc.o gdf.o gemfont.o genomeRangeTree.o \
26
+ gfNet.o gff.o gff3.o gfxPoly.o gifLabel.o \
27
+ hacTree.o hash.o histogram.o hmmPfamParse.o hmmstats.o htmlPage.o htmshell.o \
28
+ https.o intExp.o intValTree.o internet.o itsa.o iupac.o \
29
+ jointalign.o jpegSize.o keys.o knetUdc.o kxTok.o linefile.o lineFileOnBigBed.o localmem.o log.o \
30
+ maf.o mafFromAxt.o mafScore.o memalloc.o memgfx.o metaWig.o mgCircle.o \
31
+ mgPolygon.o mime.o net.o nib.o nibTwo.o nt4.o numObscure.o \
32
+ obscure.o oldGff.o oligoTm.o options.o osunix.o pairHmm.o peakCluster.o \
33
+ phyloTree.o pipeline.o portimpl.o pngwrite.o psGfx.o psPoly.o pscmGfx.o \
34
+ psl.o pslGenoShow.o pslShow.o pslTbl.o pslTransMap.o pthreadWrap.o \
35
+ qa.o quickHeap.o quotedP.o \
36
+ ra.o rainbow.o rbTree.o rangeTree.o regexHelper.o repMask.o \
37
+ rle.o rnautil.o rqlEval.o rqlParse.o rudp.o \
38
+ scoreWindow.o seg.o seqOut.o seqStats.o servBrcMcw.o servCrunx.o \
39
+ servcis.o servcl.o servmsII.o servpws.o shaRes.o slog.o snof.o \
40
+ snofmake.o snofsig.o spaceSaver.o spacedColumn.o spacedSeed.o \
41
+ splatAli.o sqlList.o sqlNum.o subText.o sufa.o sufx.o synQueue.o \
42
+ tabRow.o textOut.o tokenizer.o trix.o twoBit.o \
43
+ udc.o vcf.o vGfx.o vPng.o verbose.o \
44
+ wildcmp.o wormdna.o \
45
+ xAli.o xa.o xap.o xenshow.o xmlEscape.o xp.o zlibFace.o
46
+
47
+ vpath %.c ../utils/bedGraphToBigWig/
48
+
49
+ XO = bedGraphToBigWig.o
50
+
51
+ lib: libucsc.a
52
+
53
+ libucsc.a: $(O)
54
+ ar rcus $@ $(O)
55
+
56
+ libucsc.so.1:$(O) $(XO)
57
+ $(CC) -shared -Wl,-soname,libucsc.so -pthread $(L) -o $@ $(O) $(XO) -lc
58
+
59
+ libucsc.1.dylib:$(O) $(XO)
60
+ libtool -dynamic -L/usr/X11/lib/ -g -lpthread $(L) -lc $(O) $(XO) -o $@
61
+
62
+ clean:
63
+ rm -f ${O} $(XO) libucsc.a
64
+
65
+ tags:
66
+ etags ../inc/*.h ../lib/*.h ../lib/*.c