doesn't pickup qcmodule which is on the path

396 views
Skip to first unread message

MNoon

unread,
Oct 27, 2017, 1:22:32 PM10/27/17
to rseqc-discuss
I have installed RSeQC on HPC into my access directory (no root). I have setup the paths to the "site-packages" where  qcmodule resides. See below

/unsupported/nirav/RSeQC/2.6.4/cm/shared/uaapps/python/2.7.11/lib/python2.7/sitepackages/:/unsupported/nirav/RSeQC/2.6.4/cm/shared/uaapps/python/2.7.11/bin/:/cm/shared/uaapps/python/2.7.11/bin:/cm/shared/uaapps/R/3.4.1/bin:/home/u8/mnoon/modules/perl5/bin:/cm/local/apps/gcc/6.1.0/bin:/cm/shared/apps/pbspro/current/sbin:/cm/shared/apps/pbspro/current/bin:/cm/shared/uabin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/environment-modules/3.2.10/bin:/home/u8/mnoon/cyverse-cli/bin:/home/u8/mnoon/bin:


but it still complains about missing qc module:


bam2fq.py --version

Traceback (most recent call last):

  File "/unsupported/nirav/RSeQC/2.6.4/cm/shared/uaapps/python/2.7.11/bin/bam2fq.py", line 23, in <module>

    from qcmodule import SAM

ImportError: No module named qcmodule


OR


bam2wig.py --version

Traceback (most recent call last):

  File "/unsupported/nirav/RSeQC/2.6.4/cm/shared/uaapps/python/2.7.11/bin/bam2wig.py", line 20, in <module>

    from bx.bitset import *

ImportError: No module named bx.bitset



How can this be fixed?


Thanks,

M

Liguo Wang

unread,
Oct 30, 2017, 1:28:45 PM10/30/17
to rseqc-...@googlegroups.com
Hi,
you need to setup  PYTHONPATH not PATH, for example:

export  PYTHONPATH==/unsupported/nirav/RSeQC/2.6.4/cm/shared/uaapps/python/2.7.11/lib/python2.7/sitepackages/

should be in your .bash_profile

--
You received this message because you are subscribed to the Google Groups "rseqc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rseqc-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages