Skip to content

Commit

Permalink
Merge pull request #66 from Miaolingfeng/master
Browse files Browse the repository at this point in the history
Upgrade cgmaptools from py2 to py3
  • Loading branch information
guoweilong authored Dec 22, 2023
2 parents 9e6617d + 0c80cba commit afa6e40
Show file tree
Hide file tree
Showing 115 changed files with 1,031 additions and 711 deletions.
6 changes: 4 additions & 2 deletions cgmaptools
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Copyright (C) Weilong Guo & Ping Zhu
Contact: Weilong Guo <[email protected]>
Ping Zhu <[email protected]>
Lingfeng Miao <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -44,8 +45,8 @@ import subprocess
argv_len = len(sys.argv)

def PrintVersion() :
print("Version: 0.1.2")
print("Updated on: Dec. 14th, 2018")
print("Version: 0.1.3")
print("Updated on: May. 14th, 2022")
#

if (argv_len) == 1 or sys.argv[1] in ["-h", "-H", "--help"]:
Expand Down Expand Up @@ -92,6 +93,7 @@ if (argv_len) == 1 or sys.argv[1] in ["-h", "-H", "--help"]:
print("Authors:")
print(" GUO, Weilong; [email protected]; http://guoweilong.github.io")
print(" ZHU, Ping; [email protected]; http://perry-zhu.github.io")
print(" Miao, Lingfeng; [email protected]; http://miaolingfeng.github.io")
print("")
else :
code1 = sys.argv[1]
Expand Down
Binary file added include/samtools-0.1.18/bam.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bam_aux.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bam_cat.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bam_import.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bam_index.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bam_lpileup.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bam_md.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bam_pileup.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bam_reheader.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bam_sort.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/bcf.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/bcf2qcall.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/bcfutils.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/em.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/fet.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/index.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/kfunc.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/kmin.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/libbcf.a
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/mut.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/prob1.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bcftools/vcf.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bedidx.o
Binary file not shown.
Binary file added include/samtools-0.1.18/bgzf.o
Binary file not shown.
Binary file added include/samtools-0.1.18/faidx.o
Binary file not shown.
Binary file added include/samtools-0.1.18/knetfile.o
Binary file not shown.
Binary file added include/samtools-0.1.18/kprobaln.o
Binary file not shown.
Binary file added include/samtools-0.1.18/kstring.o
Binary file not shown.
Binary file added include/samtools-0.1.18/libbam.a
Binary file not shown.
Binary file added include/samtools-0.1.18/razf.o
Binary file not shown.
Binary file added include/samtools-0.1.18/sam.o
Binary file not shown.
Binary file added include/samtools-0.1.18/sam_header.o
Binary file not shown.
22 changes: 11 additions & 11 deletions include/zlib-1.2.8/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,34 @@

CC=gcc

CFLAGS=-O3 -DHAVE_HIDDEN
CFLAGS=-O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
#CFLAGS=-g -DDEBUG
#CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
# -Wstrict-prototypes -Wmissing-prototypes

SFLAGS=-O3 -fPIC -DHAVE_HIDDEN
SFLAGS=-O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN
LDFLAGS=
TEST_LDFLAGS=-L. libz.a
LDSHARED=gcc -dynamiclib -install_name ${exec_prefix}/lib/libz.1.dylib -compatibility_version 1 -current_version 1.2.8
LDSHARED=gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
CPP=gcc -E

STATICLIB=libz.a
SHAREDLIB=libz.dylib
SHAREDLIBV=libz.1.2.8.dylib
SHAREDLIBM=libz.1.dylib
SHAREDLIB=libz.so
SHAREDLIBV=libz.so.1.2.8
SHAREDLIBM=libz.so.1
LIBS=$(STATICLIB) $(SHAREDLIBV)

AR=libtool
ARFLAGS=-o
AR=ar
ARFLAGS=rc
RANLIB=ranlib
LDCONFIG=ldconfig
LDSHAREDLIBC=-lc
TAR=tar
SHELL=/bin/sh
EXE=

prefix =/Users/weilongguo/Documents/program/cgmaptools/src/zlib-1.2.8
prefix =/data2/user2/miaolf/bin/cgmaptools_for_python3/include/zlib-1.2.8
exec_prefix =${prefix}
libdir =${exec_prefix}/lib
sharedlibdir =${libdir}
Expand All @@ -70,7 +70,7 @@ OBJS = $(OBJC) $(OBJA)

PIC_OBJS = $(PIC_OBJC) $(PIC_OBJA)

all: static shared
all: static shared all64

static: example$(EXE) minigzip$(EXE)

Expand All @@ -80,7 +80,7 @@ all64: example64$(EXE) minigzip64$(EXE)

check: test

test: all teststatic testshared
test: all teststatic testshared test64

teststatic: static
@TMPST=tmpst_$$; \
Expand Down
Binary file added include/zlib-1.2.8/adler32.lo
Binary file not shown.
Binary file added include/zlib-1.2.8/adler32.o
Binary file not shown.
Binary file added include/zlib-1.2.8/compress.lo
Binary file not shown.
Binary file added include/zlib-1.2.8/compress.o
Binary file not shown.
Loading

0 comments on commit afa6e40

Please sign in to comment.