Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #40 for failed container build for SCODE #41

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ibebio
Copy link

@ibebio ibebio commented Sep 3, 2020

apt-get install -y git was failing with the following error:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-3 is to be
installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be
caused by held packages.

This commit resolves #40

apt-get install -y git was failing with the following error:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-3 is to be
installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be
caused by held packages.

This commit fixes the problem.
@ibebio ibebio changed the title Fix for failed container build for SCODE Fix #40 for failed container build for SCODE Sep 3, 2020
The commit includes necessary modifications to run the containers with
Singularity. Dockerfile modficications were added to create missing
data/ directories.

The .sh scripts were modified to create Singularity images.
Tentative fix for the following error when running algorithms from
ARBORETO container:

INFO:    Convert SIF file to sandbox...
Traceback (most recent call last):
  File "runArboreto.py", line 43, in <module>
    main(sys.argv)
  File "runArboreto.py", line 32, in main
    network = genie3(inDF, client_or_address = client)
  File "/opt/conda/lib/python3.7/site-packages/arboreto/algo.py", line
73, in genie3
    limit=limit, seed=seed, verbose=verbose)
  File "/opt/conda/lib/python3.7/site-packages/arboreto/algo.py", line
115, in diy
    expression_matrix, gene_names, tf_names
= _prepare_input(expression_data, gene_names, tf_names)
  File "/opt/conda/lib/python3.7/site-packages/arboreto/algo.py", line
214, in _prepare_input
    expression_matrix = expression_data.as_matrix()
  File "/opt/conda/lib/python3.7/site-packages/pandas/core/generic.py",
line 5130, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'as_matrix'

The actual source of the error is upstream, since the bioconda recipe does not
specify versions of the packages.
@adyprat
Copy link
Collaborator

adyprat commented Sep 9, 2020

Hey,
Thank you fixing the issue with Dockerfiles for SCODE and Arboreto. We can merge those changes, but perhaps make singularity available on a different branch. Could you please create a pull request with just commits 4019cc6 and 6daa390?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SCODE Docker container failing to build
2 participants