fredrikappelros / align Goto Github PK
View Code? Open in Web Editor NEWPerforms global and local sequence alignment.
License: MIT License
Performs global and local sequence alignment.
License: MIT License
Hello, it seems that setup.py
is missing NumPy includes, which results in the following compilation error:
building 'align' extension
creating build
creating build/temp.macosx-10.8-intel-2.7
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c align.c -o build/temp.macosx-10.8-intel-2.7/align.o
clang: error: no such file or directory: 'align.c'
clang: error: no input files
error: command 'clang' failed with exit status 1
Here's a working version of setup.py
:
from setuptools import setup
from setuptools.extension import Extension
from Cython.Distutils import build_ext
import numpy as np
setup(name="calign",
version='0.1',
description='Global and local sequence alignment implemented in C for speed.',
author='Fredrik Appelros, Carl Ekerot',
author_email='[email protected], [email protected]',
url='https://github.com/FredrikAppelros/align',
install_requires=['numpy', 'cython'],
cmdclass = {'build_ext': build_ext},
include_dirs = [np.get_include()],
ext_modules = [Extension('align', ['src/align.pyx', 'src/calign.c'])],
)
Can you please upload align
to PyPI, so that anyone can easily install it via pip
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.