Giter VIP home page Giter VIP logo

Comments (15)

ialbert avatar ialbert commented on July 30, 2024 1

yes the course in now running live, we moved to micromamba now as it is a simpler version of conda/mamba,

the words conda/mamba/micromamba are used interchangeably and technically each would work, but the book now uses micromabma as an alias for each

from biostar-handbook.

ialbert avatar ialbert commented on July 30, 2024

the bioconda channels have not been activated

if only fastq dump fails that is fine no need to rerun the install, the fastq dump is installed separately

we should troubleshoot only that

from biostar-handbook.

Cargopa avatar Cargopa commented on July 30, 2024

How about the list of incompatible packages?

from biostar-handbook.

ialbert avatar ialbert commented on July 30, 2024

not sure what you mean, the "incompatibility" is that the packages do not exist because the channels have not been activated

you need to activate the correct channels.

as it happens though, just today a new set of installations have been released that use micromamba instead of conda and mamba

I have rerun and tested the new installation on both mac and Linux this morning and both ran with no problems

from biostar-handbook.

Cargopa avatar Cargopa commented on July 30, 2024

I did activate bioinfo channel, but it complains package not exist

root@e14a9ee918fc /
# conda config --add channels bioconda
Warning: 'bioconda' already in 'channels' list, moving to the top
(bioinfo) 
root@e14a9ee918fc /
# conda config --add channels conda-forge
Warning: 'conda-forge' already in 'channels' list, moving to the top
(bioinfo) 
root@e14a9ee918fc /
# conda activate bioinfo
(bioinfo) 
root@e14a9ee918fc /
# mamba install hisat2 -q -y 
Could not solve for environment specs
The following package could not be installed
└─ hisat2 does not exist (perhaps a typo or a missing channel).
(bioinfo)

I also tried to install using conda, but most of them didn't exist either.

oot@e14a9ee918fc /
# conda install -c bioconda hisat2 -q -y 
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - hisat2

Current channels:

  - https://conda.anaconda.org/bioconda/linux-aarch64
  - https://conda.anaconda.org/bioconda/noarch
  - https://conda.anaconda.org/conda-forge/linux-aarch64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/linux-aarch64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-aarch64
  - https://repo.anaconda.com/pkgs/r/noarch

So far I have only managed to install fastqc and bio

root@e14a9ee918fc /
# ~/bin/doctor.py
# Doctor! Doctor! Give me the news.
# Checking symptoms ...
# bwa           --> ERROR
# datamash      --> ERROR
# fastqc -h     ... OK
# hisat2        --> ERROR
# seqret -h     --> ERROR
# featureCounts --> ERROR
# efetch        --> ERROR
# esearch       --> ERROR
# samtools      --> ERROR
# fastq-dump    --> ERROR
# bowtie2       --> ERROR
# bcftools      --> ERROR
# seqtk         --> ERROR
# seqkit        --> ERROR
# bio           ... OK
# fastq-dump -X 1 -Z SRR1553591 --> ERROR

I started from the scratch multiple times, not sure what went wrong, but I am sure it's something crucial.

from biostar-handbook.

ialbert avatar ialbert commented on July 30, 2024

I see that you are running the commands as root. That should not be necessary.

What operating system and CPU is this?

Rereading the post it seems you are running docker and other technologies. None of that would be necessary.

from biostar-handbook.

ialbert avatar ialbert commented on July 30, 2024

Also on a Mac if you are installing conda by hand make sure to install the Intel based conda even for Arm (M1) processors.

Bioinformatics software is only compiled for Intel based processors and the Rosetta emulation layer can run all software seamlessly.

The automated install will take care of this but if you need step by step instructions can be seen here:

https://www.biostarhandbook.com/step-by-step.html

from biostar-handbook.

lizziewright avatar lizziewright commented on July 30, 2024

I have a similar though not identical problem when I run curl -s http://data.biostarhandbook.com/install/conda.txt | xargs conda install -q -y
I get xargs: conda: No such file or directory
(bioinfo)
Does xargs need to be replaced with something else? (Hi Istvan!)

from biostar-handbook.

lizziewright avatar lizziewright commented on July 30, 2024

ps: this is ubuntu run through WSL on my windows PC

from biostar-handbook.

ialbert avatar ialbert commented on July 30, 2024

xargs reports that conda does not exist, so conda as a command is not found,

make sure to restart the terminal and verify that conda as a command can be run

from biostar-handbook.

lizziewright avatar lizziewright commented on July 30, 2024

I am wondering if the problem is I can't run this script (error message) curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xj bin/micromamba to install micromamba so I resorted to these directions https://kontext.tech/article/1064/install-miniconda-and-anaconda-on-wsl-2-or-linux I am about to install but wondering about location, does it need to go into /bin because it is defaulting to:

Miniconda3 will now be installed into this location:

/home/liziz/miniconda3

  • Press ENTER to confirm the location
  • Press CTRL-C to abort the installation
  • Or specify a different location below

from biostar-handbook.

ialbert avatar ialbert commented on July 30, 2024

make sure that you follow the linux installation instructions, most likely your linux is missing bzip packager and that is why it cannot unpack the default micromamba,

it is very, very unfortunate that micromamba developers have used a compression algorithm that may not be installed by default, but you you really only need to run

sudo install bzip2 

then it should install.

The default installation script should work on Linux as long as you follow the instructions from the start

from biostar-handbook.

lizziewright avatar lizziewright commented on July 30, 2024

conda is definitely working after I installed in the above manner but now I have this problem ./bin/micromamba shell init -s bash -p ~/micromamba -q
-bash: ./bin/micromamba: No such file or directory

from biostar-handbook.

lizziewright avatar lizziewright commented on July 30, 2024

how things look currently with directories

(base) liziz@lizzie:~$ ls
Miniconda3-py39_4.12.0-Linux-x86_64.sh Miniconda3-py39_4.12.0-Linux-x86_64.sh.1 Miniconda3.sh bin miniconda3

from biostar-handbook.

lizziewright avatar lizziewright commented on July 30, 2024

bzip2 worked and installed via default installation script

You are doing well, Majesty!

are you running course live at Penn? I am trying to develop bioinformatics course for babies at CCNY (I'm lecturer in chem dept)

from biostar-handbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.