Can't get past install

17 views
Skip to first unread message

Ben

unread,
May 12, 2010, 3:02:02 PM5/12/10
to Pysam User group
I'm looking for a python tool to manipulate sam and bam files. This
looks like it may be the ticket, however:

[root@sfgf-vm-8 pysam-0.2]# python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.4
creating build/lib.linux-x86_64-2.4/pysam
copying pysam/__init__.py -> build/lib.linux-x86_64-2.4/pysam
copying pysam/Pileup.py -> build/lib.linux-x86_64-2.4/pysam
copying pysam/namedtuple.py -> build/lib.linux-x86_64-2.4/pysam
running build_ext
building 'pysam/csamtools' extension
/root/Desktop/pysam-0.2/pysam/csamtools.pxd:161:9: 'bam_dup1'
redeclared
/root/Desktop/pysam-0.2/pysam/csamtools.pxd:163:9: 'bam_copy1'
redeclared
/root/Desktop/pysam-0.2/pysam/csamtools.pyx:7:4: Syntax error in
simple statement list
[root@sfgf-vm-8 pysam-0.2]#


I'm running RHEL 5.5, python 2.4, biopython 1.54, samtools 0.1.7a

Andreas

unread,
Jun 10, 2010, 10:09:54 AM6/10/10
to Pysam User group
Hi Ben,

sorry for the late reply - it might be the version of pyrex that
you are using.

Note also, we have not really tested pysam with python 2.4.

Best wishes,
Andreas
Reply all
Reply to author
Forward
0 new messages