Last updated: 2021-09-20

Checks: 2 0

Knit directory: misc/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version da4d3fa. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    data/.DS_Store

Untracked files:
    Untracked:  analysis/EM_var.md
    Untracked:  data/ROTS_results.RData
    Untracked:  data/ROTS_results2.RData
    Untracked:  data/cate_cate_high.RData
    Untracked:  data/cate_cate_low.RData
    Untracked:  data/cate_cate_mid.RData
    Untracked:  data/cate_cate_null.RData
    Untracked:  data/mout_low.RData
    Untracked:  data/mout_mid.RData
    Untracked:  data/mout_null.RData
    Untracked:  data/nonUMI_simu1.RData
    Untracked:  data/pbmc.rds
    Untracked:  data/pbmc3k_filtered_gene_bc_matrices/
    Untracked:  data/pbmc_counts.rds
    Untracked:  data/prices.csv
    Untracked:  data/scCD14.RData
    Untracked:  data/scCD4.RData
    Untracked:  data/scCD8.RData
    Untracked:  data/scMB.RData
    Untracked:  data/sva_sva_low.RData
    Untracked:  data/sva_sva_mid.RData
    Untracked:  data/sva_sva_null.RData

Unstaged changes:
    Modified:   analysis/index.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/command.Rmd) and HTML (docs/command.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd da4d3fa Dongyue Xie 2021-09-20 wflow_publish(“analysis/command.Rmd”)
html 22ea1c8 DongyueXie 2020-09-23 Build site.
Rmd d2b54b1 DongyueXie 2020-09-23 wflow_publish(c(“analysis/index.Rmd”, “analysis/genelength.Rmd”,
html 53029fc Dongyue Xie 2020-01-15 Build site.
Rmd cfac861 Dongyue Xie 2020-01-15 wflow_publish(“analysis/command.Rmd”)
html 1313b6f Dongyue Xie 2019-12-12 Build site.
Rmd c07c0dc Dongyue Xie 2019-12-12 wflow_publish(“analysis/command.Rmd”)

Introduction

cd $SCRATCH

htop: check login mode cpu use

Get compute node:

sinteractive --time=10:00:00 --mem=8G -c 4 -p mstephens --account=pi-mstephens

--exclusive:

squeue -u dyxie : see job status

squeue -p mstephens: see who’s using nodes.

scontrol show node=midway2-0437

squeue -p broadwl | less -S

export OPENLABS_NUM_THREADS=4: use 4 cpus to compute

Open another command window, login to midway2 then ssh midway2-0437, htop --user=dyxie monitor the computations on the other command window.

Use screen to back up screens.

nano myscript.R to write an R script.

module load R then Rscript myscript.R

sbatch myscript.sbatch

parallel in linux command

Unzip (Open) Gz File

gzip -d file.gz or gunzip file.gz

Preview files

head, less

Upload data to rcc

transfer from my laptop to my home directory:

Single files: scp <some file> <CNetID>@midway2.rcc.uchicago.edu

Directories: scp -r <some dir> <CNetID>@midway2.rcc.uchicago.edu

To other directory:

scp -r <some dir> <CNetID>@midway2.rcc.uchicago.edu:/project2