- Create a conda environment
conda create -n ENV_NAME- Install jupyter and exec-wrappers into the conda env
conda install jupyter exec-wrappers -n ENV_NAME -c conda-forge- Setup the wrapper around jupyter to handle environment activation
conda create -n ENV_NAMEconda install jupyter exec-wrappers -n ENV_NAME -c conda-forge| docker run \ | |
| -v /home/USER:/workingdir \ # setup access to local folder inside container. Format is ABSOLUTE_LOCAL_PATH:CONTAINER_PATH | |
| combinelab/salmon \ # maybe one does not always need to do this, but prefix with the container name | |
| salmon alevin -lISR # run command as usual, using container paths | |
| -1 /workingdir/LOCAL_FASTQ_SUBDIR/L00#_R1_001.fastq.gz \ | |
| -2 /workingdir/LOCAL_FASTQ_SUBDIR/L00#_R2_001.fastq.gz \ | |
| --chromium \ | |
| -i /workingdir/salmon \ | |
| -p8 \ | |
| -o /workingdir/lane# \ |
| brew tap caskroom/cask | |
| brew cask install basictex | |
| sudo tlmgr update --self | |
| sudo tlmgr update --all | |
| sudo tlmgr install titling framed inconsolata | |
| pip install -e 'git://github.com/{ username }/{ reponame }.git@{ tag name }#egg={ desired egg name }&subdirectory={ subdir }' | |
| or | |
| pip install -e 'https://github.com/{ username }/{ reponame }.git@{ branch/tag name }#egg={ whatever }&subdirectory={ subdir }' | |
| The key is those single quotes - without them, Bash ignores the subdirectory portion. |
exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted.
Disk Utility is unable to repair this at first, but the fix is this:
diskutil list to find the right drive id.disk1s1sudo fsck_exfat -d <id from above>. eg sudo fsck_exfat -d disk1s3-d is debug so you'll see all your files output as they're processed.YES if it gives you the prompt Main boot region needs to be updated. Yes/No?| library(tidyverse) | |
| library(lubridate) | |
| library(ggrepel) | |
| sars_stats <- | |
| jsonlite::read_json( | |
| path = "https://covidtracking.com/api/v1/us/daily.json", | |
| simplifyVector = TRUE | |
| ) %>% | |
| as_tibble() %>% |
| wsl.exe --shutdown | |
| cd C:\Users\smithm\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState\ | |
| optimize-vhd -Path .\ext4.vhdx -Mode full |
| https://github.com/theislab/anndata2ri/issues/8 |