sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
da5856858390d65ba04166e5e2b3d153dc7eb2c1f65dc7712645621ecc0c73f5
Shell
8,223
249
#!/bin/bash # #This is a shell program to generate a script to trace brightfield images # # Last change: 2016-08-20 # function write_trace_spec_commands { vaa3d=$1 outputScript=$2 img_name=$3 trace_img_name=$4 echo "chmod -R 777 $trace_img_name*;" >> $outputScript; echo "$vaa3d -x mapping3D_swc -f mappin...
20358fc2e3f022bfda21ef70b67dac9e40d8ee4ec3b1f3c152a005a77aab8d41
Shell
8,225
117
#!/bin/bash ######################################################################################### # BWA_NR # Copyright (c) 22/08/2013 Davit Bzhalava ########################################################################################## # # Alligns row anassembled pairend sequences to quey fasta and estima...
a886bb6abf51e8349207804ebda8d5459ee5b2bca8ebbb15df00c20c9a7283a9
Shell
8,279
263
#!/usr/bin/env bash ################################################################################ # # WARNING: THIS SCRIPT IS UNSUPPORTED! # USE AT YOUR OWN RISK # # DESCRIPTION: # # This script will create a simple Gencode data source for all the variants # in a given VCF file. # You will have to index the fasta ...
c4b336c25a098590e745c51e61b332ebc27ac105ec561855ef16e2d234fbc904
Shell
8,280
251
############################# ##########new_set############ ############################# NAMES=./new_dimers_names.txt NATIVEDIR=../data/new_dimers/PDB DOCKQ=/proj/berzelius-2021-29/users/x_patbr/DockQ/DockQ.py #model_1 #reycle 10 #for run in {1..5} #do # MODELDIR='/proj/berzelius-2021-29/users/x_patbr/results/a...
bb1cad7610642b5a7c2201fd1f67c9bbc0ce58d243b4b3dcbeec1c5d924f6a43
Shell
8,315
272
#!/usr/bin/env bash git --version > /dev/null if [ $? -ne 0 ] then echo "Could not find git executable" exit 1 fi rg --version > /dev/null if [ $? -ne 0 ] then echo "Could not find rg (ripgrep) executable" exit 1 fi top_level=$(git rev-parse --show-toplevel) cd $top_level ret=0 opts="--perl-regexp --ignore...
032eabf83f5abf5c1138d66f454a85a162ba65343b545d7b44f2397b5b9db010
Shell
8,378
236
#!/bin/bash #$ -cwd # error = Merged with joblog #$ -o job_logs/job_log.$JOB_ID.$TASK_ID #$ -j y ## Edit the line below as needed: #$ -l h_rt=24:00:00,h_data=16G ## Modify the parallel environment ## and the number of cores as needed: #$ -pe shared 1 #$ -t 1-N # This will be replaced with actual number of files # Get...
451e9a9f684df46925856db9eb0f3239492c11e5d1a75200d93efa0f135d53a4
Shell
8,386
244
#!/bin/sh ##### # Example: # $CBIG_CODE_DIR/stable_projects/preprocessing/CBIG_diffusion_processing2022/CBIG_diffusionQC.sh \ # --subj $subject --subjDIR $projdir/$subject/T1w/Diffusion \ # --subjImg data.nii.gz --outdir $base_outdir/S1200/individuals/$subject \ # --bval_file bvals --bvec_file ...
215a60f7fa51a1cf1a73b9289bbf67a581b46a850eea9e17d2c9050e5940b19b
Shell
8,396
229
#!/bin/sh # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md data_csv=$CBIG_LiGSR_REP_GSP_DIR/scripts/subjects/GSP_extended_140630.csv ystem="" root_dir="$CBIG_CODE_DIR/stable_projects/preprocessing/Li2019_GSR/VarianceComponentModel/scripts/" main() { ##...
4f2ec5e5edbd83813b17767f91454f54aeee2ed6020789806cc33c1ad6deb414
Shell
8,489
229
#!/bin/bash # Wrapper script for Step 5: PNF consistency/inconsistency analysis. # # Computes predictive network features (PNF) for two models: # Model 1: FC_Y0 -> CogY0 # Model 2: FC_Delta -> CogDelta # Then compares sign consistency across models. # Network matrix plots can be generated locally without cluster su...
2f6f5267792e43f99de1702693f09df09bec6ac88d94fd351339fee2974683af
Shell
8,517
326
STUDYNAME=$1 ROOTPATH=$2 HASEROOT=$3 OUT=${ROOTPATH}/OUTPUT/${STUDYNAME}/ rm -rf ${OUT} mkdir -p ${OUT} mkdir -p ${OUT}/regression/ mkdir -p ${OUT}/PD_with_b4/ mkdir -p ${OUT}/PD_without_b4/ mkdir -p ${OUT}/PD_without_b4_cluster/ mkdir -p ${OUT}/PD_with_b4_cluster/ mkdir -p ${OUT}/encode/ mkdir -p ${OUT}/encode/...
b384dea80c61b8ffea13023de433c3d89f9d01640fd91b8d2c5e6a1fdc8ed178
Shell
8,611
108
#!/bin/bash ######################################################################################### # BWA_NR # Copyright (c) 22/08/2013 Davit Bzhalava ########################################################################################## # # Alligns row anassembled pairend sequences to quey fasta and estima...
e7550795f8ae0ec0a2ace6b5c82e1d9ea1e53ec9f8a2c49df74a1da3b4142c3c
Shell
8,620
63
#!/usr/bin/env bash #See below to set yarn and executor memory options right #http://stackoverflow.com/questions/38331502/spark-on-yarn-resource-manager-relation-between-yarn-containers-and-spark-execu #example parameters (data must be in /data/input/example in compressed fastq format and /data/output directory must e...
abb81cf216aea7b66f37fd321a019421be5b4bd0c1760e0b075fbd21f7a1e749
Shell
8,639
175
#!/bin/bash # # dl+direct-nofs -- surface reconstruction with no FreeSurfer calls at all. # # fast_surface_reconstruction.sh runs five FreeSurfer binaries, but only to # build FreeSurfer's *own* pial surface via mris_make_surfaces. The white # surface it produces depends on none of them: preparedata.py and # dl_wm_surf...
9334a44c5badd1112bae8353651dc0968f3474cce845eba6bfe4544714c11962
Shell
8,640
244
#!/bin/sh # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md data_csv=$CBIG_LiGSR_REP_GSP_DIR/scripts/subjects/GSP_extended_140630.csv outstem="" num_test_folds=20 num_inner_folds=20 with_bias=0 root_dir="$CBIG_CODE_DIR/stable_projects/preprocessing/Li2...
874417516aa435d60490b1d32dfa94a416f1225c35f29a3c89f60ee8a0c23e51
Shell
8,648
247
#!/bin/bash # # This script runs through the code in each of the python examples. # The purpose is just as an integration test, not to actually train models in any meaningful way. # For that reason, most of these set epochs = 1 and --dry-run. # # Optionally specify a comma separated list of examples to run. Can be run ...
3067b6bfc049f3b4dcd5eeffff4a0ef68a881b7d95a06d0c8499a2bd06a88b01
Shell
8,699
179
#!/bin/bash ## ## 09 May 2023 ## Izaskun Mallona ## ## Retrieves RNA-seqs, with Ambra Villani WD=~/avillani_microglia SRA="/home/imallona/soft/sra/sratoolkit.3.0.1-ubuntu64/bin/" mkdir -p $WD/data cd $_ # Abud EM, Ramirez RN, Martinez ES, Healy LM et al. # iPSC-Derived Human Microglia-like Cells to Study Neurologic...
ad7df33360033e22b18704be7c21a165469f7642de57c2345499b198be7ce460
Shell
8,738
256
#!/bin/sh set -e # sh nrndiagnose.sh [python] # Diagnostic tests to verify launch functionality of a NEURON # installation. Problems that occur are generally traceable to # environment issues that can be fixed with proper # PATH, PYTHONPATH, PYTHONHOME, and/or NRN_PYLIB # filled in by configure prefix="/home/hegan/D...
e71ff9f4e5efe9ee74d1bbe2c25ad541f0122dafe8a001b7a402f77bd70129c6
Shell
8,748
177
#When a sparse GRM is used to fit the null model (--useSparseGRMtoFitNULL=TRUE), variance ratios are estiamted using markers randomly selected from (--plinkFile). Categorical variance ratios are estimated (--isCateVarianceRatio=TRUE) Rscript step1_fitNULLGLMM.R \ --plinkFile=./input/nfam_100_nindep_0_step1_inc...
ccc46382dca08a7413aa6e32669c9bb716107d513e833c51e78bb1a5b35cdb60
Shell
8,947
249
#!/bin/bash # ants_to_fsl_warp.sh # Convert an ANTs warp + affine pair into FSL applywarp format and apply. # # Pipeline: # 1. Split the 5D ITK warp into x/y/z components (ImageMath). # 2. Sign-flip components based on reference orientation: # NEUROLOGICAL -> Y flip only # RADIOLOGICAL -> X and Y fl...
0c70b4200f7b0421af55e785d6188c04b21ac163db16affebe957edea317c5aa
Shell
8,952
199
#!/bin/bash usage() { base=$(basename "$0") echo "usage: $base subject age [options] This script runs the dHCP surface pipeline. Arguments: subject Subject ID Options: -d / -data-dir <directory> The directory used to run the script and output the files. -t / -threads <number> ...
972f13d90e1bacaa0631f162f03d9327884e52bbc662401efc1c0dbfc60729f0
Shell
8,992
343
#!/bin/sh # install from the build directories to the mswin destination # uses the classical positions of files if test "$top_srcdir" = "" ; then echo "instal.sh should be executed at top level with make mswin" else S=`cygpath -u -a $top_srcdir | sed 's/\/$//'` export S fi if test "$top_builddir" = "" ; then echo ...
18efe3307d0f43b0968f4e4eb55912326550e59905b9e0b23dedc6d351bf2278
Shell
9,051
255
#!/bin/sh # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md data_csv=$CBIG_LiGSR_REP_GSP_DIR/scripts/subjects/GSP_extended_140630.csv num_test_folds=20 num_inner_folds=20 evaluations=15 tree=3 root_dir="$CBIG_CODE_DIR/stable_projects/preprocessing/Li201...
d14baec505e61c618d9df131afeccdc337e9b14e83a60b162ab2f4f173e1cd85
Shell
9,116
270
#!/bin/bash # Ensure the script stops on first error set -e # This script is designed to synchronize local and remote directories, excluding certain files and folders ############################## START EDITABLE AREA ############################## # Source password script as passwordless login is currently not ena...
3f2eb7a2f144ca309ca324b142701bc4174af4a76cc363df4d13e22bae40f88b
Shell
9,239
293
#!/usr/bin/env bash umask u+rw,g+rw # give group read/write permissions to all new files set -e # stop immediately on error # TODO: when not all runs are included, be clever in the $c counter and the run specific merge # retrieve input argument to find correct instructions instructDir="$1" # ------------------- #...
3b9fb8427d7bdf3563027327f0e864aa01561363560c62117b0caaf7daf27b14
Shell
9,298
229
#!/usr/bin/env bash # ============================================================================= # Static Site Build Script # # This script performs the following tasks: # 1. Checks that NodeJS (>=18.0) is installed; if not, it prints instructions # for installing via nvm. # 2. Changes directory into the do...
ba0d1555e059adce5e9a06ba53e992c708cc3fa331a7686b98e3268b6c18388f
Shell
9,299
141
#!/bin/bash exe_name=$0 exe_dir=$3 # need to provide tool path because we are not using the default shell script export MCRROOT=$4 # Matlab 2022a runtime export PATH=$PATH:$5:$6 # ANT and nifty_reg install/bin folders export MATLAB_SHELL="/bin/bash" # change to use bash instea...
544f5a8ec6521f146034b2b52e0933a96ee3fff581d40595348ac30818f5c1f2
Shell
9,312
229
#!/bin/bash # Script to analyze all generated molecule files and compute scores # Run from the edm directory set -e # Exit on any error echo "=== Analyzing All Generated Molecules ===" # Configuration DATASET_PATH="dataset/pdbbind/5zcu" PROTEIN_PDB="${DATASET_PATH}/protein.pdb" OUTPUT_BASE_DIR="raw_mols" echo "Us...
b1c580aefd908b79f24892d16f5434a3450dd78ef8c9d3f82da7b7bc9c5d2920
Shell
9,367
232
#!/usr/bin/env bash ################################################################################ set -e ################################################################################ SCRIPTDIR="$( cd -P "$( dirname "$0" )" && pwd )" SCRIPTNAME=$( echo $0 | sed 's#.*/##g' ) ###################################...
7386797b5570a2d4a4dc531f302eb9c780c3036e015e6bc16c474ac48fb24d38
Shell
9,397
273
#!/bin/bash # install_python_deps.sh # Installation script for ConnectomeInfluenceCalculator Python dependencies # Part of the influencer R package - installs into r-reticulate environment set -e # Colors for output RED='\033[0;31m' GREEN='\033[0;32m' BLUE='\033[0;34m' YELLOW='\033[1;33m' NC='\033[0m' # No Color ech...
d42ad7fec51991c3e8b96e64b7ef54cec5db737d8fbf3a71e929ab6c9ecaf53f
Shell
9,415
222
#!/bin/bash export project_work_dir=$1 export PB_dir=$2 export NR_dir=$3 cd $PB_dir echo 'nt_final<-read.csv("nt_final.csv") write.table(nt_final[,c("Queryid","Division")],"tmp_nt_final.txt",row.names=F,col.names=F,quote=FALSE, sep="\t") ' > tmp_nt_final.R R CMD BATCH --no-save tmp_nt_final.R awk -F"\t" '{if($2 == ...
43249bc6e7242206aa8bbb6ec45fd76a0c4e7b766cac79c649b609fb533c79c8
Shell
9,446
258
#!/bin/bash # #This is a shell program to batch reconstruct images using 21 different methods. # function write_vaa3d_job_config { outputScript=$1; tracingMethod=$2; echo "## Check which queue you may use" >> $outputScript; # echo "#PBS -q dque" >> $outputScript; echo "#PBS -q regular" >> $outputScript; ...
752ec7ada8942e278c5f2268ea38ee69e166dad69073a37f22e83e8ea0674cbe
Shell
9,470
167
#!/bin/bash #PBS -l walltime=12:00:00 #PBS -N L3stats-trend #PBS -q normal #PBS -m ae #PBS -M matt.mattoni@temple.edu #PBS -l nodes=1:ppn=28 # load modules and go to workdir # module load fsl/6.0.2 # source $FSLDIR/etc/fslconf/fsl.sh cd $PBS_O_WORKDIR umask 0000 # ensure paths are correct shareddir=/gpfs/scratch/tug...
6582f96e3dc450aafd86547ce565e0d763c3b2c2252fe26a18327b316c27f4c7
Shell
9,490
236
#!/bin/bash source "${PCP_PATH}/bin/precon_logging.sh" Usage() { echo " " echo "Usage: `basename $0` [options] -i <T1_image> " echo "" echo " Compulsory Arguments " echo "-i <T1.nii.gz> :Compulsory input, Image must include nii or nii.gz file extension " echo " " echo "-a <...
b385bdfe54ea977715d8e02b738d5b8f2004315ef6ef2680034a098ecba4ac77
Shell
9,496
189
#!/bin/bash # Copyright (c) Meta Platforms, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. set -ex function install_92 { echo "Installing CUDA 9.2 and CuDNN" # install CUDA 9.2 in the same container wget...
955c7cf8e7e6c138f7f580a7301053cfbfd131b7d2fdc7c1e5b71d359252b0e3
Shell
9,504
249
#!/bin/bash # #This is a shell program to batch reconstruct images using 28 different methods. # # Last change: 2015-08-17. by Hanchuan Peng adding the anisotropic filtering. # function write_neuron_tracing_command { outputScript=$1; METHOD=$2; vaa3dProgramPath=$3; inimgfileTracing=$4; finalfileFolder=$5; ...
adb8ff758fc38d2e2c64e4a17d53a0dade7b78328d54fa7b3db12865a9aace2a
Shell
9,633
266
#!/bin/bash # #This is a shell program to batch reconstruct images using 21 different methods. # function write_vaa3d_job_config { outputScript=$1; echo "## Check which queue you may use" >> $outputScript; # echo "#PBS -q dque" >> $outputScript; echo "#PBS -q regular" >> $outputScript; echo "# Allow up to 1...
dc323e59fd0c259dbbcc3bb2a41cb31dffd58433e7f4bdfc93afc2cd1c2107cd
Shell
9,658
96
conda activate geomx python -m cellcontrast --image_preprocess --preprocess_dir data/raw/hkgmh3_74_50/train/ --cell_cutout 20 --preprocess_workers 20 \ --calc_mean_std python -m cellcontrast --image_preprocess --preprocess_dir data/raw/hkgmh3_74_50/test/ --cell_cutout 20 --preprocess_workers 10 python -m cell...
e869fbdf3e4a43be012eece16e1f445eefd11e306ee5a8d979207c801619bfb6
Shell
9,662
316
#!/bin/bash set -euo pipefail usage() { cat <<'EOF' Usage: make_average_surface_native.sh \ --template-ref /path/to/template_subject \ --subject-list /path/to/group.txt \ --out-dir /path/to/output_subject \ --ico 5 \ [--include-ref-stats] \ [--stats] Description: Builds an average FreeS...
fadcf391eac81a74ec9e6c126deb813459571cc5d54de09feb5f7b8381ca8ec0
Shell
9,671
303
#!/bin/bash # --------------- # Parameter Setting # --------------- INITDIR="" # Working directory DATA_DIR=${INITDIR}/data # Data input ICAS_DATA="$INITDIR/data/dm.csv" # Data input LOG_FILE="$INITDIR/ICAS_analysis.log" # Working log RESULT_DIR="$INITDIR/result/" # Result Output RLT_PATH="$INITDIR/glmfit_res" #summar...
2c1597665ef23b025e9eb426e756cc78e4e6924e57c699abc0c128e160791b17
Shell
9,676
268
#!/bin/bash # #This is a shell program to batch reconstruct images using 21 different methods. # function write_vaa3d_job_config { outputScript=$1; tracingMethod=$2; echo "## Check which project you may use" >> $outputScript; # echo "#PBS -q dque" >> $outputScript; echo "#PBS -A NRO101" >> $outputScript; ...
d1dea97c72a11a0cd04840a66cdf1f17d30c495d09d5308636807eb4ced29582
Shell
9,680
269
screen -S 2_ChrA1 conda activate ~/introNets/intronets pop="wel" pop_sizes="40,44" chr=mLynRuf2.2_ChrA1 taskset -c 1 python src/introNets/src/models/apply_disc_to_npz.py \ --ifile data/introgression_scans/npz_files/lpa-${pop}.${chr}.npz \ --ofile data/introgression_scans/lpa-${pop}_predictions_withM/${chr}.pred...
9ada541faa46aca77fa73e5f6856efe36a78fdb63343d38cc41be410c8ff972c
Shell
9,681
96
conda activate geomx python -m cellcontrast --image_preprocess --preprocess_dir data/raw/hkgmh3_74_30/train/ --cell_cutout 30 --preprocess_workers 20 \ --calc_mean_std python -m cellcontrast --image_preprocess --preprocess_dir data/raw/hkgmh3_74_30/test/ --cell_cutout 30 --preprocess_workers 10 python -m cell...
b699b5fa0ef5bcbf4d4b63f3aacaff6a2091a3cde2ff1a03a2c767f5f135ae3e
Shell
9,683
96
conda activate geomx python -m cellcontrast --image_preprocess --preprocess_dir data/raw/hkgmh3_74_20/train/ --cell_cutout 20 --preprocess_workers 20 \ --calc_mean_std python -m cellcontrast --image_preprocess --preprocess_dir data/raw/hkgmh3_74_20/test/ --cell_cutout 20 --preprocess_workers 10 python -m cell...
4efb8a946181aa4d4735bf6862c08330a44c0be63c494583672291599b3bafc8
Shell
9,783
268
#!/bin/bash # #This is a shell program to batch reconstruct images using 21 different methods. # function write_vaa3d_job_config { outputScript=$1; echo "## Check which queue you may use" >> $outputScript; # echo "#PBS -q dque" >> $outputScript; echo "#PBS -q mindscope" >> $outputScript; echo "# Declare tha...
c2ed697374533c3cad5348c4d6f040ed20724e7c97dc9f557ddaaffb54daab8a
Shell
9,867
267
#!/bin/sh # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md HCP_dir="$CBIG_LiGSR_REP_HCP_DIR/S1200/scripts" restricted_csv="$HCP_dir/restricted_hcp_data/\ RESTRICTED_jingweili_4_12_2017_1200subjects_fill_empty_zygosityGT_by_zygositySR.csv" unrestricted_c...
8a41aa4bcf74cb1d890277e21006c4541b14dfcc24a3257d09ed2d4c8307a1b6
Shell
9,951
279
#!/bin/bash packages="WORKBENCH ITK VTK MIRTK SPHERICALMESH" vars="dir install git branch version folder build cmake_flags make_flags" usage() { base=$(basename "$0") echo "usage: $base [options] Setup of the dHCP structural pipeline. Options: -j <number> Number of CPU cores to be used for t...
c0a5a9de6866a7dd272f48ec5410644b2af11e5724c2e3315c88681d30809323
Shell
10,006
100
conda activate geomx python -m cellcontrast --image_preprocess --preprocess_dir data/raw/CRC_1p/train/ --cell_cutout 34 --preprocess_workers 20 \ --calc_mean_std --preprocess_channels 0,10,14,19 python -m cellcontrast --image_preprocess --preprocess_dir data/raw/CRC_1p/test/ --cell_cutout 34 --preprocess_worke...
a387a9896a98ecf87d25e2f929afe298ad58e9a8aed2b9592b9a15de963c5d37
Shell
10,061
210
#.Project Name PROJECT_R="1_Epilepsy_RNA" DIR_H="/home/joonho345/${PROJECT_R}/" #### RNA_Human #### DIR_H_H="/home/joonho345/${PROJECT_R}/RNA_Human/" DIR_H="/data/project/${PROJECT_R}/RNA_Human/" script_H=${DIR_H_H}script/ logPath_H=${DIR_H_H}out/ temp_H=${DIR_H}temp/ #### RNA_Animal #### DIR_H_A="/home/joonho345/${PRO...
b2a925ab289dbb9d6a93afcfd6a9935eefe2aadaa6fb758c5abec3ac3fc13964
Shell
10,183
274
#!/bin/sh # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md HCP_dir="$CBIG_LiGSR_REP_HCP_DIR/S1200/scripts" restricted_csv="$HCP_dir/restricted_hcp_data/\ RESTRICTED_jingweili_4_12_2017_1200subjects_fill_empty_zygosityGT_by_zygositySR.csv" unrestricted_cs...
f0ffc5ed5643a3dc0d968f7f8589377962cc0389ff838f1e4ba783126abb63aa
Shell
10,187
100
conda activate geomx python -m cellcontrast --image_preprocess --preprocess_dir data/raw/CRC_6_1p/train/ --cell_cutout 6 --preprocess_workers 20 \ --calc_mean_std --preprocess_channels 0,10,14,19 python -m cellcontrast --image_preprocess --preprocess_dir data/raw/CRC_6_1p/test/ --cell_cutout 6 --preprocess_wor...
79d8974a9fe73c087c6434d4781c940c70046d857f1ff82a9c16499f9c858e65
Shell
10,201
414
######################################### ## script used to run regenie/BOLT/fastGWA/SAIGE ## for the analyses in the REGENIE 2020 paper ## For more details, visit: https://rgcgithub.github.io/regenie/ ## main_dir=/regenie_paper/ code_dir=${main_dir}scripts/ in_raw_dir=${main_dir}input_raw/ files_dir=${main_dir}input/...
a78a711114ce00925eab7a990ac214b03a77ff626e44157ecbe740d138ff8e3c
Shell
10,220
225
#!/bin/bash roi_labeling() { # ------------------------------------------------------------------------- # Main script to perform labeling of lacuna regions # ------------------------------------------------------------------------- # Usage examples: # Slow good run - ~15 min (depends on system) # time bash rv...
2ebbdca90975ea85d4876da183e3960add8c38d11e031ce2897d0cbbf664a74f
Shell
10,259
100
conda activate geomx python -m cellcontrast --image_preprocess --preprocess_dir data/raw/CRC_nc_1p/train/ --cell_cutout 34 --preprocess_workers 20 \ --calc_mean_std --preprocess_channels 0,10,14,19 python -m cellcontrast --image_preprocess --preprocess_dir data/raw/CRC_nc_1p/test/ --cell_cutout 34 --preprocess...
98a93e1d58ba0182da3d1dc258c7b9fbf509171b5a27c2c196a8000560a192a9
Shell
10,265
260
#!/bin/sh # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md HCP_dir="$CBIG_LiGSR_REP_HCP_DIR/S1200/scripts" restricted_csv="$HCP_dir/restricted_hcp_data/\ RESTRICTED_jingweili_4_12_2017_1200subjects_fill_empty_zygosityGT_by_zygositySR.csv" unrestricted_cs...
cdabe817a82284616920e6a43f81d2a839dc4398c4edb7ea829e13a92aeed159
Shell
10,268
100
conda activate geomx python -m cellcontrast --image_preprocess --preprocess_dir data/raw/CRC_2c_1p/train/ --cell_cutout 34 --preprocess_workers 20 \ --calc_mean_std --preprocess_channels 0,10 python -m cellcontrast --image_preprocess --preprocess_dir data/raw/CRC_2c_1p/test/ --cell_cutout 34 --preprocess_worke...
d1d44d060f35bbd0b54b7596ea6ef6260f99d361aaa63a776f62a3571a8686ff
Shell
10,300
100
conda activate geomx python -m cellcontrast --image_preprocess --preprocess_dir data/raw/CRC_14_1p/train/ --cell_cutout 14 --preprocess_workers 20 \ --calc_mean_std --preprocess_channels 0,10,14,19 python -m cellcontrast --image_preprocess --preprocess_dir data/raw/CRC_14_1p/test/ --cell_cutout 14 --preprocess...
4c65c24afc9be695f1b8b760e8f3ffbf12465cab66c34a3a16047da617765fba
Shell
10,377
97
module load Anaconda3 conda activate geomx python -m cellcontrast --image_preprocess --preprocess_dir data/raw/cosmx/train/ --cell_cutout 100 --preprocess_workers 15 --calc_mean_std python -m cellcontrast --image_preprocess --preprocess_dir data/raw/cosmx/test/ --cell_cutout 100 --preprocess_workers 15 python src/uti...
d6b11c9ad23b18be022971933e698de7be0a142fd49de7b980f69fbed1158cf1
Shell
10,403
324
#!/bin/bash CD=${PWD} # # syntax: compute_w.sh <rootdir> <reference> <study> # # where: # <rootdir> = main directory where all files can be found # <reference> = xls file with reference subjects # <study> = xls file with study subjects # # format of xls files: # row 1: "filename" "variate 1" "variat...
e4c5f9897c3d552d450b265c774a117f7ffeccec18a3d963347483ead08fd3cb
Shell
10,530
303
#!/usr/bin/env bash set -e # stop immediately on error umask u+rw,g+rw # give group read/write permissions to all new files # This is a simple little script to cut any volumes from a timeseries that occur # after a detected outlier. The script is so simple, it might be helpful as a # template script too. # ------...
52e2d5c949a4ad8401bcedc0c97dea4566a7e460fefc2fa793f82a331617aab4
Shell
10,534
277
#!/usr/bin/env bash ################################################################################ # Creates a set of files that allows for creating annotations based off dbSNP # Pulled directly from the ncbi FTP site. ################################################################################ #Setup variabl...
526cf0da4a3961a91291fe26a2c24f6972060afbfad91b4a9bb219a0a554d4e4
Shell
10,555
312
#!/usr/bin/env bash ################################################################################ # Creates a set of files that allows for creating annotations based off dbSNP # Pulled directly from the ncbi FTP site. ################################################################################ #Setup variabl...
cfac129f7369a24201da960b9d6599f48cbb9bab71a910ccc47cd1e5b4d2effc
Shell
10,573
370
#!/bin/bash #### ################################## START OF EMBEDDED SGE COMMANDS ########################## #$ -S /bin/bash #$ -cwd #$ -N segmDM_single #$ -j y #### merge stdout and stderr #$ -l P100 -l h_vmem=36G #$ -l short #$ -l h_rt=0:15:00 ############################## END OF DEFAULT EMBEDDED SGE COMMANDS #####...
ad6b3961b9694ca2e8917cda1b4ec8e070bf9e5833b01f972a818b999ac1033f
Shell
10,595
321
#!/usr/bin/env bash ################################################################################ # # DESCRIPTION: # # This script will take a list of BED files and create data sources for # Funcotator from them. # This process involves but is not limited to: # # - Remove tracks # - Making coordinates 1-based...
0fc98c91e68a5c2c0eb361cfa36cd41de871047c34a1c07f7448d9884b87c61b
Shell
10,654
382
#!/bin/bash # 切换运行路径到脚本路径 cd $( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) # 使用严格模式 # set -euo pipefail set -eu title() { printf "\n----------\n%s\n----------\n" "$1" >&2 } download_mm9() { title "download mm9" mkdir -p genome pushd genome wget https://github.com/Boyle-Lab...
892ae26b1dd3413e01c341919433778b7a432a7950628619dd1fab19b408a2e3
Shell
10,671
219
#!/bin/sh # # There are two subjects (with two sessions of data) in the CoRR_HNU dataset involved in the example. To be able to # separate the data into training and test sets, these two subjects will be treated as 4 subjects (each session is # considered as a subject). Then the RSFC of each session will be duplicate...
f6bb338be2b4d1701f98565f1413d703d71d60b2e503d1b9cc7eb2d8cebb9d26
Shell
10,725
367
#!/usr/bin/env bash umask u+rw,g+rw # give group read/write permissions to all new files set -e # stop immediately on error <<"COMMENT" project: deepTUS first: Lennart Verhagen, Davide Folloni last: Matthew Rushworth, Jerome Sallet code: Lennart Verhagen goal: create a heatmap of TUS induced changes to connectivi...
87ee9824bc08c5ac9bc5ed658aa87b21f82d832775a84944c44e5353d867a74e
Shell
10,743
237
#!/bin/bash # -------------------------------------------EHT1 ---------------------------------------------------------- #numbers=(1 4 17) #for num in "${numbers[@]}"; do # echo "Sample 4: AHA $num" # python /mnt/d/Code/HeartModelling/generateSimFiles/genS2AHA_continue.py \ # --filePath /mnt/e/Paper4/Simulations...
af734e13b69a4cc92bf8ba7161e99dd309c90654e71c1958a45464ccc8d778a6
Shell
10,763
134
#!/bin/bash #BSUB -J VAL_NMTUI #BSUB -o ./VAL_NMTUI_%J.out #BSUB -e ./VAL_NMTUI_%J.err #BSUB -W 68:00 #BSUB -q general #BSUB -n 2 #BSUB -u pasteris@miami.edu #BSUB -M 5000 #BSUB -R "rusage[mem=5000]" # module purge module load hihg-analysis java/1.8.0_60 R/4.1.0 perl/5.18.1 samtools/1.3 intel/13.0 impi/4.1.1.036 # for...
88e31ffd310fcc70efd6368ba324a59cfc59e55147b6b57e9a9f8be72973187b
Shell
10,777
225
#!/bin/bash ########################################################### ### Full v888 data rebuild for BANC pipeline ### ### Produces all versioned data files and pushes to GCS. ### Prerequisites (must already exist on GCS at v888): ### - synapses_v2_human_readable.csv.gz ### - synapses_v3_human_readable_id_size_pr...
47fe46599cd0c0368ef7239705c560229ee7fa48f98ac305c98f8403e13b1ece
Shell
10,794
243
#!/bin/bash # #This is a shell program to batch reconstruct images using 24 different methods. # # Last change: 2015-08-17. by Hanchuan Peng adding the anisotropic filtering. # function write_neuron_tracing_command { outputScript=$1; METHOD=$2; vaa3dProgramPath=$3; inimgfileTracing=$4; finalfileFolder=$5; ...
27a30d4e7ffe2a3bf73638ae265db1181e0bdedae6b5f43b3df874bd931816a0
Shell
10,837
288
#!/usr/bin/env bash set -e # stop immediately on error umask u+rw,g+rw # give group read/write permissions to all new files # rsn_vol2surf.sh # ------------------------------ # # Help # ------------------------------ # usage() { cat <<EOF rsn_vol2surf.sh: Project volumetric functional timeseries to cortical sur...
c639f121dac2626d0f699ae367b96815b57d9597ce9d068fa1e30fbab27a17bb
Shell
10,910
325
#!/bin/bash # ------------------------------------------------------------------------- # Script to run ResectVol DL analysis (segmentation and labeling) # MUST BE RUN FROM WITHIN FOLDER path/to/resectvoldl # ------------------------------------------------------------------------- # ===================================...
b39e81deaa14061af8ed1c24d693db0a05a36a9afd030f71204e37d5f7ed2983
Shell
10,923
97
#conda activate torch1.7 #cd xxj/attack/TangentAttack-main/ # CGBA CIFAR-10 #python CGBA/attack_gpu.py --gpu 3 --norm l2 --init-rnd-adv --attack_method CGBA --dataset CIFAR-10 --arch gdas #python CGBA/attack_gpu.py --gpu 3 --norm l2 --init-rnd-adv --attack_method CGBA --dataset CIFAR-10 --arch WRN-28-10-drop #python C...
86f9b2e35babc99b6756a10344063fcf625b677c07beb52eb5c6648b19cec811
Shell
10,953
242
#!/bin/bash # ============================================================================= # STARsolo CLI - QC aggregation # ============================================================================= # Aggregate QC statistics for one or more STARsolo output directories. # ===========================================...
d4bd17588ca1c566ee5f1b7de087d8e0f4bedd97bf182d5e5ea50e7968831f8f
Shell
11,057
249
#!/bin/bash # #This is a shell program to batch reconstruct images using 28 different methods. # # Last change: 2015-08-17. by Hanchuan Peng adding the anisotropic filtering. # function write_neuron_tracing_command { outputScript=$1; METHOD=$2; vaa3dProgramPath=$3; inimgfileTracing=$4; finalfileFolder=$5; ...
1b9e3486e7fea01ace989ced6716804377744cd97dc2f9fb6b28c03b42d2cbfd
Shell
11,140
280
#!/bin/bash # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_vcf_header() { local vcf_file="$1" local bgi_file="$2" local header_file="$3" local temp_contigs=$(mktemp -p"$WORKING_DIR") chrs=($(sqlite3 "$input_bgi" "select chromosome from Variant group by chromo...
0d5eefe307d0dc1f027b81d19aac929f9e35b2fb83616a6b479bb71b1103b307
Shell
11,265
298
## MAIN PIPELINE FILE ## This is the main wrapper file to run the EasySci-RNA computational processing pipeline. ## It takes the raw FASTQ file folder, the sample ID file, the output folder, the STAR index folder, two GTF files (one with every genomic elements and one with only the exons), the file with the random he...
9e06858a5e1907d2697788659d2a47f70fa639139f78fabbb51abd32b276f1c1
Shell
11,395
200
#!/bin/bash help=" [-i Test folder containing the subdirectories Test_Data and Test_Controls]\n [-o directory to write the output to, each test will get its own folder there]\n [-t leave empty or write 'all' to run all test cases, or give a number of individual ones]" print_help=0 while getopts "hi:o:t:" o; do case $...
312c0d60f2fa121a96371b4057f424905ec719d65339019a90130a651e055e7e
Shell
11,480
215
#!/bin/bash export path_htsa_dir=$1 export project_work_dir=$2 export FAP_FASTA=$3 export HPV_CSV=$4 #### if [ -d $project_work_dir/FAP ]; then rm -r $project_work_dir/FAP fi mkdir $project_work_dir/FAP #### export FAP=$project_work_dir/FAP cd $FAP # scl enable python27 - << \EOF python /media/storage/HTS/Virus...
c8cf1684a1ff037d4d3fc865db95fa1823afbbdacef739967c5b8b3ea9751cc7
Shell
11,511
395
#!/bin/bash # ============================================================================= # REPRODUCIBILITY PIPELINE FOR AEnabledLoReg # ============================================================================= # # This master script orchestrates the complete reproducibility pipeline for the # "Contrasting Glob...
932e3c50e9adcf1e74f692069196c76afe50657e9b5e78b64ebfa5937bdc4ea6
Shell
11,592
355
#!/usr/bin/env bash ################################################################################ # # WARNING: THIS SCRIPT IS UNSUPPORTED! # USE AT YOUR OWN RISK # # DESCRIPTION: # # This script builds and runs Funcotator on different data files, depending on # the options given. # Must be internally configured to ...
0a31ceb9fa8278adcad40a646f4489810ef4a0eda83b55ed9d1f484a48e28a32
Shell
11,638
342
#!/usr/bin/env bash set -euo pipefail # Generate QC report for a precon_all output directory. # All screenshots come from fsleyes (works headless via PYOPENGL_PLATFORM=osmesa). # ImageMagick is used only for the 3D tile and PDF assembly. # # Behaviour: # - If surfaces are available -> full PDF report (3 pages) # -...
75171bf91ab485bca0a63475961c7598294a6642f80e714a8a870b2e87133d0d
Shell
11,659
284
#!/usr/bin/env bash umask u+rw,g+rw # give group read/write permissions to all new files set -e # stop immediately on error # when input arguments are provided, use these rather than the instruction file [[ $# -gt 0 ]] && instruct="$*" || instruct="" # ------------------- # # GENERAL DEFINITIONS # ----------------...
4e4909a44dbe51874726a0deb262cbf5148a489d320c99c32fd9be10e2b90cb0
Shell
11,719
288
#!/usr/bin/env bash umask u+rw,g+rw # give group read/write permissions to all new files set -e # stop immediately on error # ------------------- # # GENERAL DEFINITIONS # ------------------- # source $MRCATDIR/setupMrCat.sh anaDir="/Volumes/rsfMRI/anaesthesia/analysis" fingerprintDir="$anaDir/fingerprint" mkdir -p...
45d47c13b9c02a0d411eb95acceef53b48960cc5d745a4df3e08772c135bf21c
Shell
11,849
117
for k in 'EOAD_ADFUS'; do vcf-concat ${k}_chr1_8564s22.dose.vcf.gz ${k}_chr2_8564s22.dose.vcf.gz ${k}_chr3_8564s22.dose.vcf.gz ${k}_chr4_8564s22.dose.vcf.gz \ ${k}_chr5_8564s22.dose.vcf.gz ${k}_chr6_8564s22.dose.vcf.gz ${k}_chr7_8564s22.dose.vcf.gz ${k}_chr8_8564s22.dose.vcf.gz \ ${k}_chr9_8564s22.dose.vcf.gz ${k}_...
53ec3d0ddb048047bb77c1f7bdc14411f58736d99ec929206f92cf0d29d0158e
Shell
11,849
297
#!/usr/bin/env bash # Q&A gate for fn-57 — independent external LD matrix corpus. # Implements the events in PROCEDURE.md. Fail-loud; no silent skips for # missing science and no green run that leaves telemetry unchecked. set -euo pipefail ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../../.." && pwd)" PROC_DIR="$(cd "$...
9fb0955515b47fd59869fc558153f4148dd6b1ef57d218cf47bf22028def726e
Shell
12,002
345
#!/bin/bash # create_dmg.sh - Create macOS DMG installer from PyInstaller output # Requires: create-dmg (install via: brew install create-dmg) set -e # Configuration APP_NAME="Membrane Kymograph" VERSION="0.0.1" # Placeholder version; will be replaced during build process # Check if PyInstaller created a .app bundl...
62b40ace6134901b6ba5740d6b7184b3501f0055df8fb7c8b601c364a1bd3c7e
Shell
12,051
249
#!/bin/bash ########################################################### ### Full v890 data rebuild for BANC pipeline ### ### Cloned from o2_banc_v888_rebuild.sh with three structural changes: ### - banc.version = "890" via banc-startup.R (single source of truth) ### - v3 connectivity + completion read CSV.gz, not p...
54891a05b489c8e0dbccdc5c089576afe2b103485dc76f2dc3d9117bbf77bdeb
Shell
12,057
314
#!/bin/sh # # Written by Jianzhong Chen and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # Set default value for parameters in optional input arguments num_leave_out=3 num_inner_folds=10 lambda_set_file=none metric=predictive_COD culster=CBIG_cluster # Set default value for other...
d1a0626606fd9c3c8e1ddd3229d6fa63e8f8764e29747081045a490887073a2c
Shell
12,075
307
#!/bin/sh # # Written by Jianzhong Chen and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # Set default value for parameters in optional input arguments num_leave_out=3 num_inner_folds=10 domain=none eval=none tree=none metric=predictive_COD fold_number=20 cluster=CBIG_cluster ma...
2dd899915b83b8a0ff8d074eb6e37ea38d6b4e0bbf80b3a9e34e0856912830ee
Shell
12,147
300
#!/bin/sh # Written by Jianzhong Chen and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # Set default value for parameters in optional input arguments num_leave_out=3 num_inner_folds=10 group_kernel=none domain=none metric=predictive_COD cluster=CBIG_cluster # Set default value f...
69aaed341f61f410f4d2a369558260c64100c07612a39d580d37e82915dc5699
Shell
12,226
282
#!/bin/bash # Bash port of regenie_conditional.py -- same CLI, same operations, for local testing without pandas/python. # See regenie_conditional.py for the authoritative implementation; keep the two in sync. set -euo pipefail REGENIE_COVARIATES="SEX_IMPUTED,AGE_AT_DEATH_OR_END_OF_FOLLOWUP,PC1,PC2,PC3,PC4,PC5,PC6,PC7...
4dd3262540fd64aca6e279e54ada1a9db74c5bf272508398c39c62de5d947370
Shell
12,353
241
#!/bin/bash [ $# -ge 6 ] || { echo "usage: $(basename "$0") <subject> <hemisphere(L/R)> <segmentation_dir> <output_vtk_dir> <output_wb_dir> <output_temp_dir>"; exit 1; } subj=$1 h=$2 segdir=$3 outvtk=$4 outwb=$5 outtmp=$6 if [ "$h" == "L" ];then C='CORTEX_LEFT' elif [ "$h" == "R" ];then C='CORTEX_RIGHT'; else echo ...
7b92a48f962bd977b405d6b580cc7b3993a2011f3631ce320414394667f220b8
Shell
12,589
273
#!/usr/bin/env bash set -e # Requirements for this script # installed versions of: FSL (version 5.0.6) # environment: as in SetUpHCPPipeline.sh (or individually: FSLDIR, $HCPPIPEDIR_PreFS) # give Lennart Verhagen (lennart.verhagen@psy.ox.ac.uk) a coffee or a pint #============================== # overhead #====...
3f7f0c29d77fde2a5d7cc3aa8225f601569ecbf66feaca7bd3e2c22fe0270fdd
Shell
12,593
324
#!/usr/bin/env bash # Type-check each integration against the lowest version of every @mlflow/* # workspace dependency its package.json allows. # # Why this exists: in the workspace, node_modules/@mlflow/core is a symlink to # ../../core (always the latest source), so `tsc`, eslint, and jest all resolve # @mlflow/core ...
45a6a2f320481f126866401843f413b84b15598d9d8a7900e73f056fb8d22378
Shell
12,607
411
#!/bin/bash # eval "`sh nrnpyenv.sh`" # will set bash environment variables so that nrniv -python has same # environment as python # May specify the python executable with explicit first argument. # Without arg use python and if that does not exist then python3 # Overcome environment issues when --with-nrnpython=dyn...
41454cc19786c2b95e6c1b99038df3e9ebd1ba12e07cf39f78f240528975b0b2
Shell
12,639
324
#!/bin/bash # Written by Yapei Xie and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # # Combined wrapper for FC stability and change analyses. # All steps submit cluster jobs via qsub with PBS afterok dependencies. # MATLAB jobs include a random sleep (0-60s) to avoid simultaneous...
a804a51f48ee4548edd395f5fdce914d493763bfa0e7868d72c0eb84b292d587
Shell
12,868
391
#!/bin/bash # Comptox AI Deployment Script (Updated 10/05/2023) # Overview: This script automates the deployment of Comptox AI on an EC2 # instance. It can also be executed locally for testing purposes. Below are the # key tasks performed by this script. # The script currently supports only Linux and macOS. # Key D...
aa98a4bd20cb13a7444bd107287daa79ba0102f1e4da886f10e44887ba201f34
Shell
12,882
394
#!/bin/bash #### ################################## START OF EMBEDDED SGE COMMANDS ########################## #$ -S /bin/bash #$ -cwd #$ -N run_3dresample #$ -M chiharu.sako1@gmail.com #### email to nofity with following options/scenarios #$ -m a #### send mail in case the job is aborted ####$ -m b #### send mail when ...
e927c9e5c1a58fbcf1c09770298b3fcc19761f9a2002096e6d4bbb33787144bb
Shell
12,900
386
#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); yo...