Skip to main content Skip to navigation


to run htseq-count on the systems server Nero so that it could be used on the nodes in jobs took a bit of doing

HTSeq is available from which links to

unpack and then 'python build' and 'python install --prefix /cluster/nigeldyer/local' for a local installation avoiding the need to install in the root

the .profiles for the /home/nigeldyer and /cluster/nigeldyer need to be added to include

export PYTHONPATH=/cluster/nigeldyer/local/lib64/python2.6/site-packages/

However if the htseq-count is run to read a bam file the error

Please Install PySam to use the BAM_Reader Class ( occured when reading beginning of SAM/BAM file.
No module named pysam
[Exception type: ImportError, raised in]

occurs. Intalling pysam using pip does not seem to work as pip does not support a local install and only a root install. Instead, download pysam from, unpack and then then 'python build' and 'python install --prefix /cluster/nigeldyer/local' as before to do a local installation of pysam