GithubHelp home page GithubHelp logo

annavpo / scverse-tutorials Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scverse/scverse-tutorials

0.0 0.0 0.0 45.96 MB

Tutorials for learning scverse

Home Page: https://scverse-tutorials.readthedocs.io/en/latest/

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

scverse-tutorials's Introduction

CODON MIGRATION

login

ssh codon-login # use your credentials

set up your .bashrc and .bash_profile under /homes/YOURUSERNAME

Where to store data, where to work in codon

store important permanent data under /nfs/research/irene/YOURUSERNAME

run jobs, store intermediate outputs that you dont need for long term here : /hps/nobackup/irene/ma/YOURUSERNAME

cd /hps/nobackup/irene/ma
mkdir YOURUSERNAME

install software, conda env etc here : /hps/software/users/ma/YOURUSERNAME

cd /hps/software/users/ma/
mkdir YOURUSERNAME

How to move data from yoda to codon

navigate in codon:

cd /nfs/research/irene/YOURUSERNAME

RUN DATA MOVING JOB

bsub -n 8 -q datamover "/hps/software/copytools/msrsync/msrsync -p 8 /nfs/yoda/leia/research/ma/YOURUSERNAME /nfs/research/irene/

#the above command will use 8 cores, the datamover queue and it will move the whole directory YOURUSERNAME from yoda to codon.

CONDA

install minicinda instead of Annaconda (bacause it is lighter) in codon

Follow the instructions here : To install conda download the installer script from https://docs.conda.io/en/latest/miniconda.html and follow the instructions https://conda.io/projects/conda/en/latest/user-guide/install/linux.html

install miniconda under : /hps/software/users/ma/YOURUSERNAME
Once miniconda is installed in codon go to yoda

export environments from yoda

conda info --envs # prints the environments you have on yoda- select which ones you use and you want to move to codon

EXAMPLE: export the base environment

mkdir yml_files
conda activate base
bsub -M 1200 -n 4 conda env export > yml_files/base.yml
conda deactivate

Repeat the above 3 steps to export all the environments in yml files.

move the yml files to codon

bsub -n 8 -q datamover "/hps/software/copytools/msrsync/msrsync -p 8 /nfs/yoda/leia/research/ma/YOURUSERNAME/yml_files /hps/software/users/ma/YOURUSERNAME/

build environments from yml files

cd /hps/software/users/ma/YOURUSERNAME/
conda env create -f yml_files/base.yml

check your environment

conda activate base
conda list

repeat for the other environments

scverse-tutorials's People

Contributors

annavpo avatar bernheder avatar bio-la avatar czackl avatar emdann avatar flying-sheep avatar github-actions[bot] avatar grst avatar ivirshup avatar jlause avatar mikelkou avatar pre-commit-ci[bot] avatar scverse-bot avatar unswo avatar

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.