sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
f0cd3e624bb878289207e2997862f5e95c095ea303209a7398cefed3aeb59528
Shell
3,249
83
#!/bin/bash mkdir -p collapsed_bam_H1_20230719 mkdir -p H1_parse_tmp mkdir dedupped_bam_H1_20230721 mkdir -p AEI_H1_v2 mkdir -p AEI_H1_v2/tmp_20230126 mkdir -p AEI_H1_v2/log_20230126 mkdir -p AEI_H1_v2/index_20230126 mkdir -p AEI_H1_v2/mpileup_20230126 for FILE in cb_listsH1/v5/* do ter_id="$(echo $FILE | cut -d'_...
766097a17a5428e3c6671478fa8da2b4b662959551c4392893c6cdb207033fd3
Shell
3,256
50
#!/usr/bin/env bash # Regenerate Phase-2 (v1.x --drach/--m6A) byte-identity goldens from the repo's # Perl coverage2cytosine (v0.25.1, self-contained). Run from this directory # (tests/data/phase2_drach). Creates the tiny fixtures AND the per-mode Perl # golden output dirs under ./gold/ — full provenance. # # ⚠️ SLOW: ...
eee387e8c9ebab560ee033f24a6b1d661d8ecd69e9b498047dff1c022eab2198
Shell
3,256
102
#!/usr/bin/env bash # Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md #This function script projects a single volume to fsaverage space using Affine approach. It is required to finish running the recon-all results before running this function. BIN_DIR=$(di...
eded57e1994426b236d0987bd41ea0e62982249db98462bae8717a56294d1ea1
Shell
3,270
110
#!/bin/bash #SBATCH -t 01:00:00 #SBATCH --job-name=Sup #SBATCH -c 4 #SBATCH --mem=30g #SBATCH --output=sup.out # Load necessary modules # module purge # module load gcc/8.2.0 # module load python/anaconda3.10-2022.10 # source activate deeptools module purge # load conda # shellcheck disable=SC1091 source /ihome/ial...
42d191df9d9256f3eb9a3ec6a7482c5b5870cb60a0d6ac1eb32e410cbe2e69a2
Shell
3,276
88
#!/bin/sh # This function replicates the variance component model results in the GSP dataset shown in Li et al., 2019 # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ######################## # setup for CIRC cluster ######################## curr_dir=$(p...
3b88692f27aa309f1e66a3fb470ef3b35b944f2ef7544acd5c5851062d324d21
Shell
3,280
134
#!/bin/bash set -ex install_ubuntu() { # NVIDIA dockers for RC releases use tag names like `11.0-cudnn8-devel-ubuntu18.04-rc`, # for this case we will set UBUNTU_VERSION to `18.04-rc` so that the Dockerfile could # find the correct image. As a result, here we have to check for # "$UBUNTU_VERSION" == "18.04"...
b0dd99b01fe51daff85a6838f0f555fbd87062259da401ce7ad720ac5ee7a793
Shell
3,300
57
#!/bin/sh # MAKE SURE FUSION.compute_weights.R IS IN YOUR PATH # FILL IN THESE PATHS if [ $# -gt 5 ]; then echo "ERROR: YOU MUST INPUTE 5 PARAMETER like: bash permute.bash sample_size index PEER_factor FDR output_dir" else ../permutation/index.R $1 $2 mkdir $5 cat qqnorm_all | awk 'NR==FNR&&NR>=1{a[$1]=0}N...
d45cccd58f50f46f2d7e8c6f9f7caa5bebf1d7507411a56953d48561117d86d2
Shell
3,319
87
#!/usr/bin/env bash # Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # This warpper script runs CBIG_projectVol2fsaverage.sh for an example input if [ "$(uname)" == "Linux" ]; then SCRIPT_DIR=$(dirname "$(readlink -f "$0")") elif [ "$(uname)" == "Darwin...
9ccc7a7c225aa2818cfbcf51f8fc214488138f01efe1dab3a176a35772878cf7
Shell
3,327
87
#!/usr/bin/env bash # Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # This warpper script runs CBIG_projectVol2fsaverage.sh for an example input if [ "$(uname)" == "Linux" ]; then SCRIPT_DIR=$(dirname "$(readlink -f "$0")") elif [ "$(uname)" == "Darwin...
fd630ba1445dfe5f9fda1e4d29eb257d69576b01c4e4ed8e1eccca8c275afe1d
Shell
3,338
119
#!/bin/bash path2scripts=/hpc/hub_oudenaarden/aalemany/bin/map/starmap path2bcfile=/hpc/hub_oudenaarden/aalemany/bin/mapandgo path2trimgalore=/hpc/hub_oudenaarden/aalemany/bin/TrimGalore-0.4.3 path2cutadapt=/hpc/hub_oudenaarden/aalemany/bin/ path2star=/hpc/hub_oudenaarden/avo/nascent/STAR-2.5.3a/bin/Linux_x86_64 if [...
a2a33ab73a5e3799c6414abcd24a7dbd3d3482c09a908f9aadc3f345e35ec619
Shell
3,348
107
#!/bin/bash # Written by Nanbo Sun and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ########################################### # Usage and Reading in Parameters ########################################### # Usage usage() { echo " Usage: $0 -i <inDir> -d <idList> -r <reorientMa...
0859cbce42e20ef781ac7c6a3a1fe66bb08cefa9e81fd656b60b8b191c9fca8e
Shell
3,370
91
#!/bin/bash set -ex ## This file is only used for testing in OceanCode # Setting system global variables ls /deps/* ls -lrt ./ export PATH=/deps/disperse/bin:$PATH export PYTHONPATH=/code/python:$PYTHONPATH # Directories for output data mkdir -p tests/results # mkdir -p /data/synthetic_test/out mkdir -p /data/tutori...
2eeeeabccd6f30e0cc0d32d826376a3fb48a60de7f95bfd89079da178e531aa9
Shell
3,372
121
#!/bin/bash set -e set -u function showHelp() { # # Display commandline help on STDOUT. # cat <<EOH =============================================================================================================== Usage: $(basename $0) OPTIONS Options: -h Show this help. Required: -i inputfile (final report ...
ffdc89843a57498882e3cd2503054d5e9cc9e3e70af86bc05f2b394e756ddab9
Shell
3,396
105
#!/bin/bash # Copyright 2026 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
892804c2328951b6717dc0c704f1129767e98aebc24546778a5625367949c3df
Shell
3,404
116
#!/bin/bash ## 1. receive arguments from 08annotate.sub outdir_staging=$1 conda_pack_squid=$2 genome_seq_squid=$3 genome_ann_squid=$4 genome_info=$5 ann_version=$6 job_parent=$7 job=$8 ## 2. configure the conda enviroment set -e workdir_pac=$(basename $conda_pack_squid) ENVNAME=$(basename $conda_pack_squid .tar.gz) ...
d9cca67673c3efa541da4ddfe97fd5ea907e1885797730cd313ca4e0ba66fc5f
Shell
3,443
95
#! /bin/bash # Written by Wei Hou Tan and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md echo "Executing this script will install Python packages used by CBIG." read -p "Are you sure? (y/n) " answer if echo "$answer" | grep -iq "^y" ; then # store current directory WORKDI...
2de77fb30dcff9f0c1e703ce6cf4ef53ae5305463b1be3b75048cacdcb354e4b
Shell
3,447
140
#!/bin/bash set -Eeuxo pipefail mkdir -p build cp source/browser-compatibility.js build cp source/colormap.js build cp source/constants.js build cp source/deferred.css build cp source/image.js build cp source/index.html build cp source/main.css build cp source/main.js build cp source/manifest.json build cp source/mov...
0faef4cd6703f9b211366489892f6d85bca136285b27d98d53b121f8a0b60571
Shell
3,467
103
#!/usr/bin/env bash # Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md #This function script projects a single surface in fsaverage space to a volume space using Affine approach. It is required to finish running the recon-all results before running this func...
538e12ce5a1117df604863470ba7de605b8c013f47f149f8375cf3e4e0bfe893
Shell
3,471
98
#!/usr/bin/env bash # Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md #This function script projects a single surface in fsaverage space to a volume space using FS-recon approach. It is required to finish running the recon-all results before running this fu...
0a3ed7ee9c67edabd40070ff9be79b2ca05e61f03aa2f3ce2c02a9e3df76568b
Shell
3,484
113
#MOLGENIS walltime=05:59:00 mem=10gb ppn=1 #string Project #string pythonVersion #string beadArrayVersion #string intermediateDir #string bpmFile #string projectRawTmpDataDir #list Sample_ID #list SentrixBarcode_A #list SentrixPosition_A #string logsDir #string diagnosticOutputFolder #string resultDir #string pipeline...
30160bedbf93d67975e98f2d1a64174ad67b61816c7b2841d4d86b6cb748c2a3
Shell
3,494
75
#!/bin/bash # Written by Xiuming Zhang and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ########################################### # Usage and Reading in Parameters ########################################### # Usage usage() { echo " Usage: $0 -b <brainList> -n <nuisanceVars> ...
b330c4909d016013f9cc82961c4d09b31719f6b6207a7325f264755508faff60
Shell
3,498
105
#!/bin/bash # Written by Nanbo Sun and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ########################################### # Usage and Reading in Parameters ########################################### # Usage usage() { echo " Usage: $0 -d <docs> -t <setting> -k <no_topics>...
6161ee137f6774bab86b497c517dbdf5de30091dabdc1e11e7e946e663fcc068
Shell
3,501
97
#!/bin/bash #Purpose: Determine which subjects have which number of runs available and create lists accordingly for MSHBM Step3. #Inputs: Generate_data_step_2.5 sess_lists output. #Outputs: Text lists with corresponding subjects for each number of sessions. #Written by M. Peterson, Nielsen Brain and Behavior Lab und...
f508f6881285f401828e5383169c72c1863280519df689f41ae25cc77cb57731
Shell
3,534
118
#!/bin/bash # tested with dorado 0.3.4 and ONT barcoding software version 7.1.4+d7df870c0 (Mk1c distribution) # call one fast 5, then exit. Employ user-specified settings for kit and basecalling model # usage: thisscript SAMPLENAME BCMODEL BARCODEKIT # e.g. # SAMPLENAME=MinKNOW_experiment_name # BCMODEL=dna_r9.4.1_e8...
31bcd7e197431905d80dc89df7593324b38c2b97833a19ba6c173e1eb33211bb
Shell
3,566
67
#!/usr/bin/env bash # # p4_matrix.sh — Phase 4 (extractor inline epic) downstream byte-identity matrix. # # Drives scripts/phase_h_smoke.sh over the downstream bedGraph/coverage2cytosine # cells for the 10M + full_size datasets on oxy, comparing the Rust extractor's # in-process `--bedGraph`/`--cytosine_report` output ...
e5f6540d9474eaefaaf8e50af341111424a203c73cd4ebf07e50cd218b0abd2f
Shell
3,581
103
#!/bin/bash set -ex # Optionally install conda if [ -n "$ANACONDA_PYTHON_VERSION" ]; then BASE_URL="https://repo.anaconda.com/miniconda" MAJOR_PYTHON_VERSION=$(echo "$ANACONDA_PYTHON_VERSION" | cut -d . -f 1) case "$MAJOR_PYTHON_VERSION" in 2) CONDA_FILE="Miniconda2-latest-Linux-x86_64.sh" ;; ...
9137bf76c785669e2fa22248c0ea5a30ac003db4beb0a90416989f2ec6ae871e
Shell
3,597
77
## ------------------------------------------------------------------------------------ sigfile=/cFDR/MDD_CT_list line_count=$(awk 'END{print NR}' "$sigfile") for i in $(seq 1 $line_count);do IDP=`cat $sigfile|awk 'NR=='$i' {print $1}'` disease=`cat $sigfile|awk 'NR=='$i' {print $2}'` name=$(echo "$disease" | awk -F'_'...
e446ad76fcb597ae2025c1ef7c21553586b6fd4480d7d99ea7a5c44b04aba574
Shell
3,598
122
#!/bin/bash # tested with dorado 0.4.2 # call one fast 5, then exit. Employ user-specified settings for kit and basecalling model # usage: thisscript SAMPLENAME BCMODEL BARCODEKIT # e.g. # SAMPLENAME=MinKNOW_experiment_name # BCMODEL=dna_r9.4.1_e8_hac@v3.3 / dna_r10.4.1_e8.2_400bps_hac@v4.2.0 / dna_r10.4.1_e8.2_260bp...
31a229b7b5cc167dfa32ef1f6a2dce6475dc4eff34364ab903387511718fa727
Shell
3,632
107
#!/bin/bash # created: 06-06-2018, Anna Alemany (Avo lab) # The script first takes as input the root name of a set of fastq files (R1, R2) and, when required, merges the different lanes. # Next, if filters out reads that do not have a proper protocol structure (specific cell-seq barcode, UMI position and length, etc)....
cf5a5a8921fc360d0d91144a6cb089ffa9fbf656f71efa608f54e03191cc078a
Shell
3,647
54
#!/bin/sh # MAKE SURE index.r RNA_processing.r and FDR.r ARE IN YOUR PATH # FILL IN THESE PATHS if [ $# -ne 6 ]; then echo "ERROR: YOU MUST INPUTE 6 PARAMETER like: bash robust_eQTL.sh sample_size index.txt PEER_factor FDR output_dir raw_counts.txt" else Rscript index.r $1 $2 mkdir $5 cat $6 | awk 'NR==...
f6518266a802cec915cd791f61b123a8c6f7038381cb541ec8c87dbf7e70eac2
Shell
3,665
43
# precomputed h5 files for human (pM10Kb_cv) and mouse (pM10Kb_Mouse_cv) are provided only to save space # but all can be generated as below: python setup_training_files.py --cv Roadmap_FantomAnnotations.InputData.pM10Kb.txt.gz pM10Kb_cv python setup_training_files.py --cv Roadmap_FantomAnnotations.InputData.pM10Kb....
115982afc57c32e5a1cda9d231c08ec4ac797a6c10981252548ad37c17604570
Shell
3,667
55
#!/usr/bin/env bash # Regenerate Phase-1 (v1.x --gc/--gc_context + --nome-seq) byte-identity goldens # from the repo's Perl coverage2cytosine (v0.25.1, self-contained). Run from this # directory (tests/data/phase1). Creates the tiny fixtures AND the per-mode Perl # golden output directories under ./gold/ — full provena...
aefe2dab258437b728a504f860dacb76eb18aa946a9b17dff7b14ae8590d5526
Shell
3,710
98
#!/bin/bash # Written by Xiuming Zhang and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ########################################### # Usage and Reading in Parameters ########################################### # Usage usage() { echo " Usage: $0 -b <brainList> [-t <brainList_tmp...
99a2ec9c451b90d73ed29b6b223394342239ecdc1659415d77e2dad60c457c54
Shell
3,715
85
#!/bin/bash rm -r collapsed_bam_TS_20230124 mkdir collapsed_bam_TS_20230124 mkdir dedupped_bam_TS_20230125 mkdir -p AEI_TS_v4rerunverbose mkdir -p AEI_TS_v4rerunverbose/tmp_20230623 mkdir -p AEI_TS_v4rerunverbose/log_20230623 mkdir -p AEI_TS_v4rerunverbose/output_index_20230623 mkdir -p AEI_TS_v4rerunverbose/output_m...
7ff00888264e5ee796e81cac2f69187e61f1262228314515e6178c6cd9b87cfc
Shell
3,718
109
#!/bin/bash # author : sjn # date : Aug 22, 2022 # histogram of per read #m6A on read / # of A/T bases on read # histogram of the ec field's distribution # this depends upon rust's cargo and fibertools developed by Mitchell # module load gcc/10.2.0 # module load cmake/3.21.1 # cargo install --git https://github...
5400b624fc403d8b90b860c5342effc2352f492f0c9ac643bc2ff5ed4835442c
Shell
3,736
90
#!/bin/bash input_dir=/media/NAS1/Sammi_NAS1/CellRanger_Output/cortical_organoids_cr mkdir -p collapsed_bam_CO_20230627 mkdir -p collapsed_bam_CO_20230627/tmp mkdir -p tagged_bam_CO_20230627 mkdir -p dedupped_bam_CO_20230627 mkdir AEI_CO_v2 mkdir AEI_CO_v2/tmp_20230627 mkdir AEI_CO_v2/log_20230627 mkdir AEI_CO_v2/ou...
d9d63ae6fa697051eb5fe7d616a1d56bcddbfd7e7d3942efacd36e737ee78640
Shell
3,772
112
#!/bin/sh # This function replicate the kernel ridge regression results in the GSP dataset shown in Li et al., 2019 # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ######################## # setup for CIRC cluster ######################## curr_dir=$(pwd...
33c4d71eff44a575ac848d952aecc20717be2e1534337b480bee786a45657609
Shell
3,791
128
#!/bin/bash #================================ # Step 3: Remove ethnic outliers #================================ prefix=act #--------------------------------------- # Sync variant IDs between filesets #--------------------------------------- # need to remove :A1:A2 from "$prefix" variant IDs cat tmp/"$prefix"_qc1.tmp...
beac66a6ca48833be442e763ba2541c3ff3ff72cbdd5b33eee773d0d76a4b728
Shell
3,808
68
#!/bin/bash # ========================================================================== # Phase-1 spike (v1.x) — HISAT2 determinism. # # QUESTION: Is Perl Bismark v0.25.1 + HISAT2 2.2.2 byte-deterministic run-to-run # on real bisulfite reads (→ a byte-identity Rust HISAT2 wrapper is reachable)? # Capture the exact HIS...
a854170b6218ef86dd36bdfe61841663167c084a67a97b2fc524a0e88c553a1c
Shell
3,830
119
#!/usr/bin/env bash # Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md #This script projects MNI152 volume to fsaverage surface space using Freesurfer baseline approaches ########################################### #Define paths ############################...
84cbf0426668a7ae580bb4338719d1e6d9c27691b81448a71319add87407c35c
Shell
3,832
123
#!/bin/bash # for dorado 0.5.0 # call one fast 5, then exit. Employ user-specified settings for kit and basecalling model # usage: thisscript SAMPLENAME BCMODEL BARCODEKIT # e.g. # SAMPLENAME=MinKNOW_experiment_name # BCMODEL=dna_r9.4.1_e8_hac@v3.3 / dna_r10.4.1_e8.2_400bps_hac@v4.3.0 / dna_r10.4.1_e8.2_260bps_hac@v4...
50add0470225bc2cb498dd29239c76e90fee539f8290943addc93de354b671c7
Shell
3,836
102
#!/bin/bash # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
f3a3c3cb91cae72bee892dbcefc708948b0b13447b23bbde3e7ba48bfd2da4b5
Shell
3,841
149
#!/bin/bash ### 1. set paths ### ## set parameter parsings for user-specified paths ## usage="## Parallely extract SNPs with known predicted ancestral alleles.\n usage: sh $0 [-h/--help] [-w/--work_directory <path>] [-a/--in_anno_seq <path>]\n [-m/--in_map <path>] [-s/--script <path>] [-r/--in_assembly_rep <path>]\n [...
fdacb3bc229f38ce8d00c7bc3b779b24272639e2c8f9da446a6d4be51393c01a
Shell
3,870
130
#!/bin/bash ## 1. receive arguments from 05realign.sub sample=$1 outdir_staging=$2 indir_staging=$3 conda_pack_squid=$4 genome_seq_squid=$5 job_parent=$6 job=$7 ## 2. configure the conda enviroment set -e workdir_pac=$(basename $conda_pack_squid) ENVNAME=$(basename $conda_pack_squid .tar.gz) ENVDIR=$ENVNAME # these...
df7fb70ab4861c306f0ba331aaaab0749ea551f6c1bcd3829e1ce04651c871c3
Shell
3,880
35
# # circle sims python3 main.py --ntasks 1 --submit-tscc mechanotransduction --mesh-folder /root/scratch/meshes/circle_hEdge_0.1_full3dfalse --time-step 0.01 --e-val 0.1 --outdir /root/scratch/circle_E0.1_full3dfalse --axisymmetric sleep 10 # sleep between calls to avoid opening the same h5 file at the same time python...
cc920971f4720a47a8e4dccae25511cda93b7a0f216ddddd13ae8f1ba4c9fa38
Shell
3,894
88
#!/bin/bash rm -r collapsed_bam_KO_20230201 mkdir collapsed_bam_KO_20230201 mkdir dedupped_bam_KO_20230203 mkdir AEI_KO_v1 mkdir AEI_KO_v1/tmp_20230203 mkdir AEI_KO_v1/log_20230203 mkdir AEI_KO_v1/output_index_20230203 mkdir AEI_KO_v1/output_mpileup_20230203 for FILE in cb_listsKO/v1/*.txt do ter_id="$(echo $FILE ...
2f5be64fb5929d127d8fe71d3b25b47981b77f9bedaa33d167166674b3037944
Shell
3,949
90
#! /bin/bash # run freesurfer surface extraction on fetal brain atlas # following protocols from here: # https://prime-re.github.io/structural/surfaces_and_flatmaps_notebook/Surfaces_and_Flatmaps.html # and here: # https://freesurfer.net/fswiki/ExVivo # create dummy volume first and edit voxel dimensions to 1mm isotro...
c650832972c6986b20930591dcd80208ebab045d720f849d761837550aa621e3
Shell
3,951
121
#!/bin/bash # Argument parsing if [ "$1" = "jacoco" ] then JACOCO_ENABLED=true else JACOCO_ENABLED=false fi # Clean out any old sandbox, make a new one OUTDIR=sandbox/single MKDIR=mkdir SEP=: case "`uname`" in CYGWIN* ) MKDIR=mkdir.exe SEP=";" ;; esac rm -fr $OUTDIR $MKDIR -p $OUTDIR f...
2b65c870b6ac67e990d0bf7015e6f277fd4e4e278e44f0e4d489ccc043bac37c
Shell
3,959
122
#!/bin/bash # Copyright 2026 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
3f104f6f3264a1f99e04705bd8df9de68480764d8b5e7a251ff5e4a38466bf20
Shell
3,968
127
#!/usr/bin/env bash # Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # This function runs the make_xyzIndex_vol function to make index volumes for both the original MNI152 template and the # normalised version ########################################### ...
093d11e14d73300fd0d4c1ab26654593f8e0ff915a70c66b2ae4697e8ad8f475
Shell
3,981
121
#!/bin/bash # Argument parsing if [ "$1" = "jacoco" ] then JACOCO_ENABLED=true else JACOCO_ENABLED=false fi # Clean out any old sandbox, make a new one OUTDIR=sandbox/single MKDIR=mkdir SEP=: case "`uname`" in CYGWIN* ) MKDIR=mkdir.exe SEP=";" ;; esac rm -fr $OUTDIR $MKDIR -p $OUTDIR f...
d5c7066347a2477270a7c08455aa93e13c980abe01ad56e727075549f7869e93
Shell
4,051
156
#!/bin/bash #mouse genome primary assembly: from https://www.gencodegenes.org/mouse/ version GRCm39 (mm39), release M29 #mouse gene annotation: from https://www.gencodegenes.org/mouse/ version GRCm39 (mm39), release M29 maindir=$1 indexdir=$2 samplefile=$3 tempoutdir=$4 indir=$maindir/raw_fastq ######### read...
f4f0517bf0f685575a70d5e8ad7f7b0fe835d6d58ce198022f45eafa8d9e53e5
Shell
4,051
74
#!/bin/bash # Phase-3 spike — minimap2 determinism + both-strand selection (oxy). Throwaway. # # Q1 (gating): is Perl bismark --minimap2 + minimap2 2.31 byte-deterministic # run-to-run on 10k SE reads (→ a byte-identity Rust wrapper is reachable)? # Q2: what `aligner_options` does Bismark assemble for minimap2 (the -...
c6ad7d85c5a4bc5027e49ee3d969f4e6cd2fb578ba70e40ba889ad9dc0a7ebc0
Shell
4,070
132
#!/bin/bash ### m6Anet OUT=/PATH/TO/OUTPUT/DIR FAST5=/PATH/TO/FAST5 FASTQDIR=/PATH/TO/FASTQ REF=/PATH/TO/REF JOB=m6anet # basecalling guppy_basecaller -c rna_r9.4.1_70bps_hac.cfg -i $FAST5 -s $FASTQDIR -r --compress_fastq cat $FASTQDIR/*.fastq.gz > $FASTQDIR/pass.fastq.gz FASTQ=$FASTQDIR/pass.fastq.gz FASTQSUM=$FASTQ...
08e1695b9c268ff9264ba1a67f7422321627cd0e538a42149e859e5beff8a440
Shell
4,101
102
#!/bin/bash module list host=$(hostname -s) environmentParameters="parameters_${host}" function showHelp() { # # Display commandline help on STDOUT. # cat <<EOH =============================================================================================================== Script to generate a pipelin...
53f1033f3d8c767c3d6880b9a1541fddbeab389da510a64cc776b16822f318e4
Shell
4,125
132
#!/bin/bash #MOLGENIS walltime=05:59:00 mem=8gb ppn=1 #string tmpName #string Project #string logsDir #string intermediateDir #string HTSlibVersion #string bedToolsVersion #string ngsUtilsVersion set -e set -u module load "${HTSlibVersion}" module load "${bedToolsVersion}" module load "${ngsUtilsVersion}" module li...
8b5f10f49510a8010a94e2de4b820ac98280fe4094346508cc02cc105c91689e
Shell
4,138
127
#!/bin/bash # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
6d69bdee57f969ab3d83eb0746cb96ba59488ece309fff3dfac8cfe8cb4d795e
Shell
4,187
69
#!/bin/bash # # Gokberk Alagoz - 01.11.22 # # This script will do the following: # 1) Make a list of gw-sig SNPs at least in one of these summary statistics # files: Genomic SEM CPM meta-analysis results, dyslexia, rhythm impairment. # 2) Remove recurrent SNPs from this list. # 3) Get Effect Sizes and SEs per SNPs, cal...
eae8a6a38ddf023ef5fa3f913248317391cff74e01d430bdfdfcc6506bd28182
Shell
4,205
43
# Example of training of gkmExplain Models lsgkm-master/src/gkmtrain -T 16 FA_file/EX_Human_Fold0_Pos_Train.fa FA_file/EX_Human_Fold0_Neg_Train.fa gkmExplain_Model/EX_Human_Fold0 lsgkm-master/src/gkmtrain -T 16 FA_file/EX_Human_Fold1_Pos_Train.fa FA_file/EX_Human_Fold1_Neg_Train.fa gkmExplain_Model/EX_Human_Fold1 lsgkm...
ac2fc0dde02b3b12753a46b4e83ab2fa99f718f18bc3b3ada257202d53411986
Shell
4,213
105
# Aim: Run global Fst analysis to compare anadromous (below) vs. resident (above) groups. # move to correct directory before running ###################################################### ###################################################### echo "1. Create SAF files for groups" ######################################...
0d5c9ab34d0cbcc2cc6caad93889862591f1607c2866ed53c958f3fdb7e7f9f3
Shell
4,234
70
# Deep Explain CV computes the following methods: # 'deeplift', 'grad*input', 'saliency', 'elrp', 'intgrad' # 'grad*input' and 'intgrad' are presented in the paper for the reasons described # thus only these two have stored precomputed results to save space in download #human (using best model from 10 trials on each o...
9f8efaa60ec20cf9ea0fbdb81cba7bb105d9547ad8d2b4174348e537b5489c0e
Shell
4,237
158
#!/bin/bash ### 1. set paths ### ## set parameter parsings for user-specified paths ## usage="## this script calculates biallelic minor allele frequency.\n usage: bash $0 [-h/--help] [-w/--work_directory <path>] [-s/--dir_snp <path>]\n [-m/--dir_mpileup <path>] [-c/--chr_assignment <path>]\n [-v/--mincov <path>] [-t/-...
e277c872c5724aedbb632cdb9cbfd0f5baf968978ed53e31572e5b280962a75b
Shell
4,343
178
#!/bin/bash ### 1. set paths ### ## set parameter parsings for user-specified paths ## usage="This script parallelly runs genomic reannotations.\n usage: sh parallel_by_chr [-h/--help] [-w/--work_directory <path>] [-s/--script <path>]\n [-b/--bedtools <path>] [-a/--input_anno <path>] [-g/--input_genome_seq <path>]\n ...
7f88fb673679ed8c75535370290931e5b0ac3197f880ab0d469e19c78b1bb0f8
Shell
4,349
119
#!/bin/bash # Written by Nanbo Sun and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ########################################### # Usage and Reading in Parameters ########################################### # Usage usage() { echo " Usage: $0 -a <docs1> -b <docs2> -t <setting> -k...
c2bc493a9cae74325c3e64984c07d4a42a56e724c4d6b2264425c7803926a443
Shell
4,355
107
#!/usr/bin/env bash # Create or verify the project environment, then start the Observatory. # ./scripts/launch_observatory.sh CUDA GUI (default) # ./scripts/launch_observatory.sh --cpu explicit CPU validation # ./scripts/launch_observatory.sh --replay F offline replay, no model weights # Any other...
de8f210637f38b1fbd05fa732815be28fba6f0d385112251b0776e8d0083bc71
Shell
4,362
144
#!/usr/bin/env bash # Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # This function registers a moving volume to a fixed volume using ANTs ########################################### # Main commands ########################################### main(){ #...
8b0a79eb19a93e32bfbd52eec1bfb9f236cbc71416179b070a37404d1d24ce1d
Shell
4,491
196
#!/bin/bash #mouse genome primary assembly: from https://www.gencodegenes.org/mouse/ version GRCm39 (mm39), release M29 #mouse gene annotation: from https://www.gencodegenes.org/mouse/ version GRCm39 (mm39), release M29 maindir=$1 indexdir=$2 samplefile=$3 indir=$maindir/raw_fastq ######### read in sample names f...
34bc617170c4352ed0f3230c4fe5ae7f1a54b2af97d42a9a52ebd6971c60d815
Shell
4,493
133
#!/bin/bash # This is Step 2.5, which will generate the profile lists for Step 3 ########################## # Specify output directory ########################## HOME=/fslgroup/fslg_spec_networks/compute HOME_D=/fslgroup/fslg_HBN_preproc/compute out_dir=${HOME_D}/HCPD_analysis/parc_output_fs6_HCPD_REST preproc_outp...
92c7b4b50d966d4a3a6ca473cbcb8815e1a35960fe416f38e543856c3cd53882
Shell
4,535
76
#!/usr/bin/env bash # Regenerate Phase-B byte-identity goldens from the repo's Perl coverage2cytosine # (v0.25.1, self-contained Perl). Run from this directory (tests/data/phase_b). set -eo pipefail C2C="$(cd "$(dirname "$0")/../../../../.." && pwd)/coverage2cytosine" for mode in default cx zero thr; do case $mode in...
ef443fafe60d2d9d9b335b54400afc16cd18d84174d1110b0b77a433ff5b13f9
Shell
4,556
172
#!/bin/bash # # Some quick shortcuts to quickly test ACME's proper functionality # # Copyright © 2020-2025 Ernst Strüngmann Institute (ESI) for Neuroscience # in Cooperation with Max Planck Society # Copyright © 2026 Ernst Strüngmann Institute (ESI) of the Max Planck Society # # SPDX-License-Identifier: BSD-3-Clause # ...
10b3c02e6ca5ed650a589feac4c3616ff7dc3a3052d436939141f58e0ea66ea2
Shell
4,572
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_2.sh # Simulator : Aldec Riviera-PRO Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fi...
75488351b3130f28bb96c2bd0236598b53d955509299f4bd98a9d46f77ce0d6e
Shell
4,572
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : vio_0.sh # Simulator : Aldec Riviera-PRO Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fi...
a5ad44faf775d7e07c573c41a234c4b6911c20280972b87281881249015c5e84
Shell
4,572
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_4.sh # Simulator : Aldec Riviera-PRO Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fi...
aaa51691caa8a45e6a848a964eb5d00468143d99b751d8c3ce389a38ebd90f49
Shell
4,572
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_3.sh # Simulator : Aldec Riviera-PRO Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fi...
cd23df5799fa5a9bd0a4a7466e0ef4ed70edd5c155907b4181d44a81af90a604
Shell
4,572
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_1.sh # Simulator : Aldec Riviera-PRO Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fi...
08240e73c7d3d6bcca9d088c8f3fdc55197c5c3b226a3f2c85932c98118d3b81
Shell
4,573
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_3.sh # Simulator : Aldec Active-HDL Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fil...
31fe422f7dd44bf426c87126ca8c946df75b2ddc0bec9aeccad1c459551804ad
Shell
4,573
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : vio_0.sh # Simulator : Aldec Active-HDL Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fil...
40e6e66e2a3d8dd11b445abe846c3ed3e3f4dd3162b46b97eea1fb006d683947
Shell
4,573
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_1.sh # Simulator : Aldec Active-HDL Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fil...
7254bb993234659adfd344ea362b8675f04aaad9cb9f5cef8f561167e62ddd46
Shell
4,573
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_2.sh # Simulator : Aldec Active-HDL Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fil...
a9f9453ec0d49aee1767ad2da43a86abcadc6459213ba796892d7ef827774b2f
Shell
4,573
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_4.sh # Simulator : Aldec Active-HDL Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fil...
ee410028baa778af886360b63b2a25dfc24a7a8f7b810d1fc913828d375ca549
Shell
4,590
63
#!/bin/bash # DPABISurfSlurm is designed for running DPABISurf on high-performance computing (HPC) # You should have your data (BIDS and subjects.txt) at as defined in DATADIR. # You should have DPABISurfSlurm at as defined in DPABISurfSlurmDIR. # You should have SetEnv.sh at as defined in SetEnvScriptDir. # You shoul...
d50aa33ee3fd3c1f50772cc9aaad5a30d50fba0f806ed5f1bc982aeb61f718f7
Shell
4,596
139
#!/bin/bash # Load necessary modules module purge module load gcc/8.2.0 module load python/anaconda3.10-2022.10 source activate deeptools # Define constants BLACKLIST="/bgfs/ialdiri/Genomes/mm10-blacklist.v2.bed.gz" # mm10 (PLUTO FILES) CHROM_SIZE="2650000000" WINDOW_SIZE=10 # Define paths for SOX2 CR Files SOX2_BAM...
8711859adf6b07195eea3b533439e9e71f2381a798f7f82c6e4b781dc89035f4
Shell
4,611
143
#!/bin/bash -f # Vivado (TM) v2015.4 (64-bit) # # Filename : clk_wiz_0.sh # Simulator : Xilinx Vivado Simulator # Description : Simulation script for compiling, elaborating and verifying the project source files. # The script will automatically create the design libraries sub-directories in the run #...
fabd5e91ebe5fc8f520ab0a0ba65309fe1a75f92fd097a8a070c71046e9feb0e
Shell
4,624
150
set -e set -u function preparePipeline(){ local _projectName="NIST_TRIO" rm -f "${tmpfolder}/logs/${_projectName}/run01.pipeline.finished" echo "TMPFOLDER: ${tmpfolder}" pwd rsync -r --verbose --recursive --links --no-perms --times --group --no-owner --devices --specials ${pipelinefolder}/test/rawdata/2036939900...
7179f8c910266eaa71416b302e20b45a3715089d54742bb965df9d5fd674e293
Shell
4,654
79
#! /bin/bash # using manually-defined ROI, align ubrain cortical surface to dHCP fetal template #1. ensure A1 cortex is not labeled in superiortemporal label wb_command -metric-math '(y - x) > 0' cortical_roi/ubrain.superiortemporal.func.gii -var y cortical_roi/ubrain.superiortemporal.func.gii -var x cortical_roi/ubr...
b9dd154cdac0ac8fec077c8c0f2499894a9e2e28e1d778a02ca9e28507ed8d9d
Shell
4,674
133
#!/bin/bash source ../multiNodeUtils.sh # Argument parsing if [ "$1" = "jacoco" ] then JACOCO_ENABLED=true else JACOCO_ENABLED=false fi # Clean out any old sandbox, make a new one OUTDIR=sandbox/multi MKDIR=mkdir SEP=: case "`uname`" in CYGWIN* ) MKDIR=mkdir.exe SEP=";" ;; esac rm -fr $...
748682d3fc92148d5cb5a0232e7f92d4eb73d05bd719a29322077d8cfb13374b
Shell
4,704
133
#!/bin/bash source ../multiNodeUtils.sh # Argument parsing if [ "$1" = "jacoco" ] then JACOCO_ENABLED=true else JACOCO_ENABLED=false fi # Clean out any old sandbox, make a new one OUTDIR=sandbox/multi MKDIR=mkdir SEP=: case "`uname`" in CYGWIN* ) MKDIR=mkdir.exe SEP=";" ;; esac rm -fr $...
5467dd16c82e331fec916215693791e030d8307e75bf50b0061cdffc480e287d
Shell
4,713
153
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_0.sh # Simulator : Aldec Riviera-PRO Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fi...
0bfec20f6bbc7c5b4df7a6ba6d0ba934dccb436de1d6fb09dcb3389279feaf2d
Shell
4,715
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : fifo_generator_0.sh # Simulator : Aldec Riviera-PRO Simulator # Description : Simulation script for compiling, elaborating and verifying the projec...
3aaa0638ebf467f68c04b999e378d7bd38d21a3968611c177c773078315cbc8c
Shell
4,716
145
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : fifo_generator_0.sh # Simulator : Aldec Active-HDL Simulator # Description : Simulation script for compiling, elaborating and verifying the project...
96038fde158f5ea5d12de7ba69c15b0a388e6dc51c90c9ce61dc172c46fe10b4
Shell
4,716
153
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_0.sh # Simulator : Aldec Active-HDL Simulator # Description : Simulation script for compiling, elaborating and verifying the project source fil...
7ef0b63cc4b1288fd19a467987faa8f798405111c07b7eca040c4037a3e843ad
Shell
4,725
142
#!/usr/bin/env bash # Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # This function runs the CBIG_make_xyzIndex_surf function to make index volumes for each GSP subject (x/y/z coordinates # of vertex in fsaverage registered to subject's surface space) #...
b9b22da8ad0f4044a1bb248d05cbe627213d98a004fe3bd8f11e6a0d77a2a9cf
Shell
4,731
79
VGGMODEL10="vgg19/18112020/10push0.9506.pth/" VGGMODEL20="vgg19/18112020/20push0.9489.pth/" VGGMODEL30="vgg19/18112020/30push0.9483.pth/" RESMODEL10="resnet152/19112020/10push0.8167.pth/" RESMODEL20="resnet152/19112020/20push0.9678.pth/" DENSMODEL10="densenet161/25012021/10push0.9800.pth/" DENSMODEL20="densenet161/250...
83fdbf00eeb95e2092ed283bab3360d74bfc6d23d7edfcd198bf4239bc2b3f5d
Shell
4,733
160
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_2.sh # Simulator : Mentor Graphics Questa Advanced Simulator # Description : Simulation script for compiling, elaborating and verifying the pro...
b35388b81e6f47fc2d24495135b3aac383d1014c4494c5379fe7698b68801573
Shell
4,733
160
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_3.sh # Simulator : Mentor Graphics Questa Advanced Simulator # Description : Simulation script for compiling, elaborating and verifying the pro...
cc2288f30813744ae2c64cdbbfd0ef191277151f12121bd41069bf7ccc5c5ec7
Shell
4,733
160
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_1.sh # Simulator : Mentor Graphics Questa Advanced Simulator # Description : Simulation script for compiling, elaborating and verifying the pro...
e0ba971744b68426f947128c5c6a53466292d3f6530c44372eeb3c18eee22257
Shell
4,733
160
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : vio_0.sh # Simulator : Mentor Graphics Questa Advanced Simulator # Description : Simulation script for compiling, elaborating and verifying the pro...
e40094559fc1a51769803a0b86961a961c354a3c88281a8c88e0a0d887c7577d
Shell
4,733
160
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : ila_4.sh # Simulator : Mentor Graphics Questa Advanced Simulator # Description : Simulation script for compiling, elaborating and verifying the pro...
8905ffa25d3c5eef84b3b82bad44acb632bad78ddd2caf6a580686ce8c0e7b02
Shell
4,753
119
#!/bin/bash # Written by Nanbo Sun and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ########################################### # Usage and Reading in Parameters ########################################### # Usage usage() { echo " Usage: $0 -a <docs1> -b <docs2> -t <setting> -k...
523f1a92ae5434718056f485fffad2b68d61c29aa8399cefb06a79e90816d6e4
Shell
4,755
153
#!/bin/bash -f #********************************************************************************************************* # Vivado (TM) v2018.2 (64-bit) # # Filename : system.sh # Simulator : Aldec Riviera-PRO Simulator # Description : Simulation script for compiling, elaborating and verifying the project source f...