Comments (4)
Ooops, i found the problem.
I had python v3.7 installed and with python2.7 it's ok !
Sorry :s
from alignqc.
Just to mention, this could probably be solved using explicit relative imports for all the modules packed in AlignQC
.
from __future__ import absolute_import # Not necessary for python 2.6+
from . import analyze
# Or any other module at the same location as __file__
BTW, I would be interested by a Python 3
compatible version of alignQC
, is the migration planned @jason-weirather?
from alignqc.
Hi,
I also get this same error still when trying to run AlignQC through Python 3.7.0
. So guess it has not been fixed. Furthermore, when you said "I had python v3.7 installed and with python2.7 it's ok !" can you please explain whether you reinstalled AlignQC using python 2.7
or ran the already installed tool in python 2.7
, @Nifaste? I can't seem to use the AlignQC version I installed through python 3.7.0
through python 2.7
when I use pip
to install.
So I tried to install AlignQC using python 2.7.12
and I get the following set of errors:
pip install --user AlignQC
Traceback (most recent call last):
File "/stornext/System/data/apps/python/python-2.7.12/bin/pip", line 6, in <module>
from pip._internal import main
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
from pip._internal.cli import cmdoptions
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_internal/cli/cmdoptions.py", line 24, in <module>
from pip._internal.models.search_scope import SearchScope
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_internal/models/search_scope.py", line 11, in <module>
from pip._internal.utils.misc import normalize_path, redact_password_from_url
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_internal/utils/misc.py", line 21, in <module>
from pip._vendor import pkg_resources
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3241, in <module>
@_call_aside
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3225, in _call_aside
f(*args, **kwargs)
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 574, in _build_master
ws = cls()
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 567, in __init__
self.add_entry(entry)
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 623, in add_entry
for dist in find_distributions(entry, True):
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2056, in find_on_path
for dist in factory(fullpath):
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2126, in distributions_from_metadata
root, entry, metadata, precedence=DEVELOP_DIST,
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2583, in from_location
py_version=py_version, platform=platform, **kw
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2985, in _reload_version
md_version = self._get_version()
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2763, in _get_version
version = _version_from_file(lines)
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2547, in _version_from_file
line = next(iter(version_lines), '')
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2758, in _get_metadata
for line in self.get_metadata_lines(name):
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1902, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/stornext/System/data/apps/python/python-2.7.12/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1888, in get_metadata
with io.open(self.path, encoding='utf-8', errors="replace") as f:
IOError: [Errno 1] Operation not permitted: '/stornext/Home/data/.local/lib/python2.7/site-packages/mlpy-3.5.0-py2.7.egg-info'
How can this be solved @jason-weirather ? Would be great to hear your expert advice!
Thanks heaps,
Shani.
from alignqc.
OK, so this error seems to be gone when using the conda installation.
from alignqc.
Related Issues (20)
- ValueError HOT 14
- Adjust sort requirement to be compatible with any samtools sorted file HOT 1
- Isoforms
- Partial match/annotation HOT 6
- Error while reading reference fasta HOT 2
- Adapter sequences in reads
- Minimap2 compatibility HOT 3
- Error while reading index HOT 1
- `bioconda` package HOT 3
- Error X11 module cannot be loaded
- input bam
- Short reads analysis HOT 1
- transcript read count from alignQC
- IOError: Not a gzipped file HOT 6
- Memory Requirements HOT 4
- ValueError: Expected lines to be ordered but they appear not to be ordered on line 49447 HOT 1
- Hi @rojinsafavi Sorry for the delay. I'm a busy these days so if lose track of these I appreciate getting the reminder :) It looks like a problem streaming the data. Is your alignment file sorted by genomic position? If they are ... I have a second more complicated problem that this may be due to. If they are supported by position, do you know if the index of your chromosomes are in alphabetical order? I notice that different aligners have different behaviors when it comes to sorting and sometimes they sort chromosomes alphabetically ... sometimes they do other things. And i may be making the alphabetical assumption in the ordering-check. Something you can try is my sort tool thats in seqtools
- Expected lines to be ordered but they appear not to be ordered HOT 1
- problem with the installation via Conda HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alignqc.