Last active
February 19, 2023 21:24
-
-
Save samesense/c51201bcb55ad09f49eeb70e21741431 to your computer and use it in GitHub Desktop.
script to run inside docker hub image samesense/ngs_plot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use this inside https://hub.docker.com/r/samesense/ngs_plot/ | |
# set env variables | |
alias python='/condas/miniconda3/bin/python' | |
export PATH=/condas/miniconda3/bin/:$PATH | |
export NGSPLOT=/bin/ngsplot | |
export PATH=/bin/ngsplot/bin/:$PATH | |
source /condas/miniconda3/bin/activate py27 | |
# cannot write in default dir | |
# so change to write able dir | |
cd /mnt/isilon/cbmi/variome/perry/tmp/ | |
ngs.plot.r -G hg19 -R bed \ | |
-E /mnt/isilon/gerdblobel_lab/perry/mike_sarcoma_chipseq/data/interim/macs2_peaks/sraFli1_summits.sort.bed \ | |
-C /mnt/isilon/gerdblobel_lab/perry/mike_sarcoma_chipseq/work/ngsplot/all.fli1Peaks.config -O all_sraFliPeaks -T Tot -L 2000 -GO none | |
# mv results | |
mv all_sraFliPeaks.*pdf /mnt/isilon/gerdblobel_lab/perry/mike_sarcoma_chipseq/docs/plot/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something like this using zsh on macOS