sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
6fb720f2bbc7ca4efac2875c88f7a62cb5b0aa3306ff5ec218cf4b3bc6b7f60b
Shell
2,305
45
#!/bin/bash # Output file for HTCondor submit submit_file="submit_CV_AutoGluon_SHIP_Stroop_NAI.submit" # Clear the existing submit file if it exists > $submit_file # Define the number of cores (CPUs) num_cores=2 # Write the environment settings to the submit file echo "# The environment" >> $submit_file echo "unive...
d4409e6259d25f6c9664735ef866022784bf94b89530ebc81ebda3ec686b0837
Shell
2,308
67
#!/bin/sh # Written by Yapei Xie and CBIG under MIT license: # https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ##### # This script calls the matlab function to run KRR. User needs to provide the following variables. # 1. feature_path: path to feature mat file # 2. outdir: output directory # 3. sites: number...
d6e1fe3444f6593715e92feb6bfd9f39d2ca031762a72c15028af6ee2fedb6ce
Shell
2,308
67
#!/bin/sh # Written by Yapei Xie and CBIG under MIT license: # https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ##### # This script calls the matlab function to run KRR. User needs to provide the following variables. # 1. feature_path: path to feature mat file # 2. outdir: output directory # 3. sites: number...
ee809e9aeeea6dc2113e2481303b862f8cf1a492f245380c12c574ace52d29ed
Shell
2,310
67
#!/bin/bash # from Washington-University/Pipelines/global/scripts/Rotate_bvecs.sh #fix grep argument after pattern unset POSIXLY_CORRECT if [ "$3" == "" ] ; then echo "Usage: <original bvecs> <affine matrix> <rotated (output) bvecs>" echo "" echo "<affine matrix> is a FLIRT affine" echo "" exit 1; fi input=$1...
a1a6727f0a5990ea4efde5945a58a28013298c6123f83118d5689811c0e5e109
Shell
2,311
61
#!/bin/bash # # CREATED USING THE BIOHPC PORTAL on Fri Jun 21 2019 22:56:40 GMT-0500 (Central Daylight Time) # # This file is batch script used to run commands on the BioHPC cluster. # The script is submitted to the cluster using the SLURM `sbatch` command. # Lines starting with # are comments, and will not be run. # L...
c33de783800a25355cb6157bade13e7172fa9548a55fde30d9d1477ff7db10bd
Shell
2,313
45
#!/bin/sh #/media/StorageOne/HTS/VirusMeta/ffp/block_ffp.sh /media/StorageOne/HTS/PublicData/nt_pb/family /media/StorageOne/HTS/PublicData/nt_pb/virus_block_ffp_9 /media/StorageOne/HTS/PublicData/nt_pb/virus_genomes_blockffp_9 9 /media/StorageOne/HTS/PublicData/nt_pb/blockffp_9_final /media/StorageOne/HTS/PublicData/n...
c6a09e68b19d4fb3590f471c8783a65c5ddb59e3b4cfe1c7c3cf62d8342a70d3
Shell
2,314
42
#!/bin/bash # this function runs all the kernel regressions in Chen & Tam 2021 paper # # Written by Jianzhong Chen and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md top_outdir=$1 ################################################################################################### # ...
492fac47fe23ca9ce5bc4e3a5de69810da432cc7edafaf5750e942a75cfa3b87
Shell
2,316
45
########################################################################################################################## ## CCS SCRIPT TO DO QUALITY ASSURANCE OF FUNCTIONAL IMAGE REGISTRATION ## ## !!!!!*****ALWAYS CHECK YOUR REGISTRATIONS*****!!!!! ## ## for more information see lfcd.psych.ac.cn/ccs.html ## R-fMRI m...
ae64b15f7e627356c45e503fc9b937b40ac48a7a321a9f3643dd160423615352
Shell
2,319
77
#!/bin/bash #SBATCH --nodes=1 #SBATCH --partition=gpus #SBATCH --time=300:00:00 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=32 #SBATCH --exclude=lnx-cm-21008 #SBATCH --job-name=sepoffRM #SBATCH --error=joblog_error_%j.txt #SBATCH --output=joblog_output_%j.txt echo $SLURM_SUBMIT_DIR echo "Running on `hostname`" # Data...
c930deac31f90ad570b1d62599bdf4461165c419390d8502e5bb8e5c5256537e
Shell
2,321
61
PLATFORM='hifi' INPUT_DIR="${HOME}/clair3_pacbio_hifi_quickDemo" OUTPUT_DIR="${INPUT_DIR}/output" THREADS=4 ## Create local directory structure mkdir -p ${INPUT_DIR} mkdir -p ${OUTPUT_DIR} # Download quick demo data #GRCh38_no_alt Reference wget -P ${INPUT_DIR} http://www.bio8.cs.hku.hk/clair3/demo/quick_demo/pacbio_...
19dee7dddfab00557c5e5f4061d242193d54c6d41fd5430a62fba69394010f40
Shell
2,326
33
#!/usr/bin/env bash #This is a script for running sequential metagenomics analysis pipeline SAMPLES=13 for i in {1..$SAMPLES} do #Align bwa mem -t 56 /db/index/hg19/hg19_unmasked /data/fastq/forward$i.fq.gz /data/fastq/reverse$i.fq.gz > out/aligned$i.sam samtools sort -@ 56 out/a...
ac6919a6229bb77ef913015757efd013d0d9481848727dad0dbee7a569a0e3ef
Shell
2,326
106
#!/bin/bash CYC="\033[1;36m" MGC="\033[1;35m" BLC="\033[1;34m" YLC="\033[1;33m" GRC="\033[1;32m" RDC="\033[1;31m" NOC="\033[0m" CMAKE_DIR="cmake" BUILD_DIR="${CMAKE_DIR}/build" NO_INSTALL="false" CLEAR="false" DRY_RUN="false" VERBOSE="false" SHOW_HELP="false" if [[ "$#" -gt "0" ]]; then for ARG in "$@"; do if...
825840644bfc314958280c6c6d63cb5031e796b9d4ef436d89ebf8aa0000f761
Shell
2,330
69
#!/usr/bin/env bash umask u+rw,g+rw # give group read/write permissions to all new files set -e # stop immediately on error # ---------- # # USAGE # ---------- # usage() { cat <<EOF Setup the instructions for FUN rs-fMRI preprocessing. Sites to choose from: sma, psma, pgacc, fpc, lofc, amyg, midsts, control, ppsma...
41075fe0d087ef390ecfc574c42263f659b6e97048e6b5403968a815eef2017b
Shell
2,334
71
#!/bin/sh ##### # This wrapper script submits job to the schduler to run LRR in the HCP dataset. # This runs the prediction procedure (10-fold cross validation). # # Input: # -min: # An integer indicating which FC to run regression for. # # -vers: # The manner in which FC was calculated (See FC generatio...
3f300a1d529e87fc033ead96b16d226e9919ffd8a48e331d873d311b4eb78b4d
Shell
2,337
47
#!/bin/sh #/media/StorageOne/HTS/VirusMeta/ffp/ffp.sh /media/StorageOne/HTS/PublicData/nt_pb/family /media/StorageOne/HTS/PublicData/nt_pb/virus_step1_ffp_9 /media/StorageOne/HTS/PublicData/nt_pb/virus_genomes_ffp_9 9 /media/StorageOne/HTS/PublicData/nt_pb/ffp_9_final /media/StorageOne/HTS/PublicData/nt_pb/VIR_unique_...
5bcb45cb8864547684290b158e762211acc9de24cc43330c029a74dc68858784
Shell
2,337
65
#!/bin/bash #SBATCH --job-name=soWINNOWMAP #SBATCH --partition=gpus #SBATCH --time=100:00:00 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=32 #SBATCH --mem=500G #SBATCH --error=joblog_error_winnowmap_%A.txt #SBATCH --output=joblog_output_winnowmap_%A.txt path_micromamba="/gpfs/scic/software/biotools/micromamba/bin" path...
d1ed6b12bee46cfcb9653f81f7dc314932ef720e9fb573f51db456372cdc33f0
Shell
2,339
98
#!/bin/bash SCRIPTS_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) SOURCE_PATH=$SCRIPTS_PATH/../.. BUILD_PATH=$SOURCE_PATH/build INSTALL_PATH=$SOURCE_PATH/pymeshlab NIGHTLY_OPTION="" USE_BREW_LLVM=false QT_DIR="" CCACHE="" #check parameters for i in "$@" do case $i in -b=*|--build_path=*) BUILD_PA...
5584dcf81cd525d31075a1a2b1e585dd37b1471cbb842c9e3f7f2a64df6b3453
Shell
2,340
68
#!/bin/bash # Directory variables (passed as arguments) FASTQ_DIR=$1 # Directory containing fastq files OUTPUT_DIR=$2 # Directory for output files BAM_DIR=$3 # Directory for BAM files GENOME_INDEX=$4 # Path to HISAT2 genome index GTF_FILE=$5 # GTF annotation file NUM_THREADS=12 ...
0a73cb9932c0b100884593f373ece55b27834f28b7014475edb0edfa6c8bb090
Shell
2,347
28
#!/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 /path/to/contigs in fasta format directory must exist) #./blast_search.sh /path/...
17d8fed5161f54335ee196af06df3f17eca63b9fb59d2d44810a5d5b470e8d36
Shell
2,350
62
#!/bin/sh #/media/StorageOne/HTS/VirusMeta/ffp/ffp_step3.sh /media/StorageOne/HTS/PublicData/nt_pb/ffp_7_final /media/StorageOne/HTS/PublicData/nt_pb/virus_genomes_ffp_7 /media/StorageOne/HTS/PublicData/nt_pb/ssDNA_clean_list.txt /media/StorageOne/HTS/PublicData/nt_pb/VIR_unique_taxa_1000.txt export path_htsa_dir=/me...
219a5120477b6662a9f667d367f24b6de50b76e84c2f9545f968fe9f5a4f9203
Shell
2,354
61
#!/bin/bash #SBATCH -c 10 # Request cores #SBATCH -t 2-00:00 # Runtime in D-HH:MM format. Bumped to 2d # (was 18h, still TIMEOUT on 39983439 + # 40106803, 2026-05-14/15). Cron fires ...
4b21aef5f65fdd0c6cd592ab8981062ed531bfd776cf2b283fb3f5a6f5997f63
Shell
2,355
65
#!/usr/bin/env bash # # Copyright 2021 DeepMind Technologies Limited # # 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...
98828f309f7cf00651373cdd6ab8db36733a2f44bfcc0de2701c6d73f1142c76
Shell
2,360
114
#!/bin/bash # Script to download files from RCSB http file download services. # Use the -h switch to get help on usage. if ! command -v curl &> /dev/null then echo "'curl' could not be found. You need to install 'curl' for this script to work." exit 1 fi PROGNAME=$0 BASE_URL="https://files.rcsb.org/download"...
b12f4c403ad588267627cf409f976e390348ab961510dd69a908a9403d5b8ca4
Shell
2,360
52
#! /bin/sh # Last successfully run on 12 March 2024 with git repository version v0.29.8-CBIG2022_DiffProc-updates # Written by Leon Ooi and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # DO NOT CHANGE: This clears old freesurfer variables if they previously exists if [ -n "$FREES...
041ef52500b3f64e7724ba2426a5373524cfdab5d045f3a68e5033eaadac26b3
Shell
2,363
144
#!/bin/sh #derived from nrn/bin/mos2nrn2.sh.in # mos2nrn2 zipfile NEURONHOME=$N export NEURONHOME if test "$MINGW" = "yes" ; then zipfile="$1" else zipfile=`cygpath -u "$1"` fi current="`pwd`" simdir="$TEMP/$$" askread="yes" doclean() { if test "$a" = "y" ; then echo "removing $simdir" cd $simdir/.. rm ...
7a152a5fdd3dc65660ba6ef0b5fa9d565596b6b4c64917a7e7ffe2604f1dd7b0
Shell
2,377
76
#!/bin/bash # A task for running a liftover of a genomic chunk from a BGEN file. This expects the job array file to have the following columns IN THIS ORDER: # 1. rowidx # 2. region_idx # 3. chr_name # 4. start_pos # 5. end_pos # 6. nsites # 7. infile # 8. outfile # 9. source_assembly # 10. target_assembly # 11. speci...
2d6b1b1b017ff741fecd0b7d7862d74779aaea6d04da2159b84e1edd8d2cbfd7
Shell
2,381
85
#!/bin/bash set -e # rpm and deb distribution built with #sh bldnrnlinuxdeb.sh # works for user installation of python2.7, python3.5, python3.6 # and python3.7 INST=/usr/local/nrn objdir=$HOME/neuron/nrnrpm cd $objdir sudo rm -r -f $INST sudo rm -r -f $objdir/* bld () { ../nrn/configure --prefix=$INST --with-paran...
cf8f96bb4f269827b92a22c8ee743c5a3ec41cabac2bbfe056781e7f8fb7153e
Shell
2,383
49
#!/bin/bash ################################################################### #created by Davit Bzhalava on 2014-07-08 # #compares two sequence database with each other # ################################################################### #nohup /media/StorageOne/HTS/viral...
d2c4d1d7d1cca2fdbbd6e76a6797ee80cff5ea415c2a4e5e88d942a97fa6f048
Shell
2,386
71
#!/bin/bash ########## #The MIT License (MIT) # # Copyright (c) 2015 Aiden Lab # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights #...
bcd22b6639c73a799fcf605ea74d6aa7cb1fbb5dc88957dfe2b0d77eb6595f33
Shell
2,391
68
#!/bin/bash # Run a test build using docker on local PC, this can be used to debug CI/CD # gitlab builds without repeated commits. The documentation is uploaded to # pCloud static web pages for viewing. # This will create a container called merit and do the build before closing # and removing the container. The contain...
e6c454aba36836078a34f26b8d88a60243c81c502ec4ae78240761427f56ff48
Shell
2,397
60
#!/bin/bash #SBATCH -c 12 #SBATCH -t 0-11:59 #SBATCH -p short #SBATCH --mem-per-cpu=10G #SBATCH -o /home/ab714/bancpipeline/jobs/banc_wb_cosine_v888v2_alpha05_%j.out #SBATCH -e /home/ab714/bancpipeline/jobs/banc_wb_cosine_v888v2_alpha05_%j.err ############################################################################...
93d1a708a81ab9c7fad7773b41a5058cb3246c7507a21bc26cddfb680abd7622
Shell
2,398
111
#!/opt/homebrew/bin/bash -i # get aliases shopt -s expand_aliases # Function to display script usage usage() { echo "Usage: $0 [OPTIONS]" echo "Options:" echo " -h, --help Display this help message" echo " -w, --wt File path to wild type sequences" echo " -g, --groups File path to gene groups fil...
87aff36c0d2fb6302544e2a111d4566c760fa2e55128a312f3d68c16ca7b7c54
Shell
2,400
98
#!/bin/bash # # Links: # - https://sectigo.com/faqs/detail/EV-Code-Signing-Certificates-Collection/kA01N000000brbF # - https://www.reddit.com/r/PowerShell/comments/kj88m2/exporting_code_signing_certificates_from_an_exe/ # - https://blog.codeinside.eu/2017/11/30/signing-with-signtool-dont-forget-the-timestamp/ # - https...
b8ec463fc0a7d3afd39779bac617d7b7511e2b3a0c343cb1333ad169e1afe365
Shell
2,400
69
#/usr/bin/env bash # Example code for heudiconv and pydeface. This will get your data ready for analyses. # This code will convert DICOMS to BIDS (PART 1). Will also deface (PART 2) and run MRIQC (PART 3). # usage: bash prepdata.sh sub ses # example: bash prepdata.sh 104 01 # Notes: # 1) containers live under /data/...
0c96857a630e8ce47b071148aa455270df6bbf45754794001588dbc2724f45b2
Shell
2,402
92
#!/bin/bash helpFunction() { echo "" echo "Usage: $0 -p plinkPrefix -i info_path -o outPath" echo -e "\t-i variant ID, mandatory" echo -e "\t-c variant chr, mandatory" echo -e "\t-s source, to extrat the variant from, mandatory" echo -e "\t-a association analysis, either SNP or STR, default STR" e...
37e1081af1992a859e1ad65ce6c2c6a10bd839ccdbf03bb7208261873f40cc99
Shell
2,403
81
#!/bin/bash Usage() { echo " " echo "downsampling of surface" echo "" echo "Usage: `basename $0` [options] -s <subject_folder> -h <hemi> -v < # vertices>" echo "" echo "Compulsory Arguments " echo "-s <subject_folder> : Directory output of precon_all " echo "-h <hemi> : hemisphere d...
b4d24d68e1b4420feb6ce36c45623b9c6d0d5706dd6ff977198d04c14e260a81
Shell
2,403
75
#!/bin/bash # Define the split_ratios array to use split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=6 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(((RANDOM % 63000) + 2000)) ss -lpn | grep -q ":$PORT " || break done echo $PORT } #...
b271926c4593022fc8946e0783ca2dd0a4c983595b7e42ef730aa3d823666d3b
Shell
2,406
71
#!/bin/bash outfile="/gwas_atlas/merit/target_list_grch37.txt" suhre_file="/gwas_atlas/suhre_pqtl/support_files/suhre_seq_id_to_uniprot.txt" interval_file="/gwas_atlas/somalogic_interval/support_files/somalogic_interval_metadata.txt" tempfile=$(mktemp) # "$tempdb" mysql -uroot -p -Ddtadb_1_37 <<EOF | awk 'BEGIN{FS="\...
2d34d6cfdefa60beeee9d2480a865a7a49c70cc34763b6157ef6bf1506b4a7e3
Shell
2,409
92
#!/bin/bash set -ex # distribution built with #sh bldnrnmacpkg.sh python3.7 python3.6 python2.7 #10.7 possible if one builds with pythons that are consisent with that. export MACOSX_DEPLOYMENT_TARGET=10.9 INST=/Applications/NEURON-7.6 if false ; then cd $HOME/neuron/iv make clean rm -r -f $INST ./configure -...
c31d91dc5cf34c775fc048eeef44e52c9ed5c53b564a275663cbabdb844fcd36
Shell
2,416
79
#!/bin/bash #SBATCH --nodes=1 #SBATCH --partition=cpus #SBATCH --time=300:00:00 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=32 #SBATCH --exclude=lnx-cm-21008 #SBATCH --job-name=sepoffRM #SBATCH --error=joblog_error_%j.txt #SBATCH --output=joblog_output_%j.txt echo $SLURM_SUBMIT_DIR echo "Running on `hostname`" # Data...
e7216fe2dec19791e5b7e326f0e2401464121f16b7a065138c83a3d615680317
Shell
2,421
67
#!/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"); y...
02df4f9a61d694155f4500a47e18565dff94585093b46810dc6207e34d958423
Shell
2,422
82
#!/bin/bash #SBATCH --nodes=1 #SBATCH --partition=cpus #SBATCH --time=300:00:00 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=32 #SBATCH --exclude=lnx-cm-21008 #SBATCH --job-name=sepoffRM #SBATCH --error=joblog_error_%j.txt #SBATCH --output=joblog_output_%j.txt echo $SLURM_SUBMIT_DIR echo "Running on `hostname`" # Data...
ace73f7c98834a0a2c37cd4c34869c0cee579c396fecf8a9f6e332d6d4926bec
Shell
2,427
79
#!/usr/bin/env sh set -eu # Set locale for consistent sort output export LC_ALL=en_US.UTF-8 # escape `*` with `\*` and then prepend each line with `* ` to_markdown_list() { sed -e 's/[*]/\\\\*/g' -e 's/^/* /' } git_log() { # exclude build, chore, ci, docs, and test of all scopes. # always include deps scope an...
dd9a2e93af8b048904fd245048775db644ca073675ef95b1731116e464fbe5c6
Shell
2,429
78
#!/usr/bin/env bash ########################################################################################################################## ## CCS SCRIPT TO generagte (group mean BOLD file. ## ## This script can be run on its own, by filling in the appropriate parameters ## Alternatively this script gets called fro...
b95a8cfc9244d804acefc30e8792d1345d9e79ea0ad3e1e167f15593349da72e
Shell
2,430
82
#!/bin/bash # Define the split_ratios array to use split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=6 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $P...
7bd5692e0a8af449324c8a8176c026584f7f051503ef2b7800a677d023f3cf61
Shell
2,433
75
#!/bin/bash # Define the split_ratios array to use split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=7 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $PO...
a4ed71fdcc2ddfafdd0ffd3f71c7a334bd1266d54a0c0e10f0fc20bc92d1a7f4
Shell
2,433
87
#!/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 ]] && siteList="$*" || siteList="" # ignore negative connections? flgIgnoreNeg=0 # --------------...
786641c2fccd51d73dd2b458d3aaebdcccf0527447241b910a2da0e84ad5b893
Shell
2,437
67
#!/bin/sh ##### # This script submits job to the schduler to run the specified type of reliability interpretation. # These scripts are for the HCP dataset. # # Input: # -vers: # Indicates the version of the prediction procedure that was run. Can be either "full" or "random" # # -method: # Indicate...
e61c0dff12e510573b87ae26c258df94e3fb235a94c2549c0817165b52f99654
Shell
2,438
145
#!/bin/sh set -ex # if arg then assume it is destination, eg, c:/marshalnrn64/nrn if test $# = 1 ; then N=$1/mingw else N='c:/nrn/mingw' rm -r -f $N fi #basic environment mkdir -p $N/usr/bin mkdir -p $N/etc mkdir -p $N/tmp mkdir -p $N/usr/share/terminfo/63 cp /usr/share/terminfo/63/* $N/usr/share/terminfo/63 c...
31d302b9365e9e795ccea264b630f2de0543dc4987233753208abe5f8d86baf8
Shell
2,444
51
#!/bin/bash # this function computes the PFM # # Written by Jianzhong Chen and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # set cluster; change it to cluster="none" if you don't have a cluster cluster=CBIG_cluster ###############################################################...
360ce971c812d3a9d2d46ea7c1688b9d6918e6ee2264ad6e89bbf49d504583cf
Shell
2,446
72
#!/bin/sh ##### # This wrapper script submits job to the schduler to run KRR in the HCP dataset. # This runs the reliability procedure (2 fold cross validation). # # Input: # -seed: # An integer of the the random seed used to split the folds # # -min: # An integer indicating which FC to run regression f...
bf00afc1d3603fecef5f425ec0c0c3870fe4e2ff4b5cba9900fa50c89f4da742
Shell
2,447
43
set -e cd /data/SFIMJGC_Introspec/pdn/PrcsData # Create New Folder where we will generate new grid if [ ! -d ALL_SCANS ]; then mkdir ALL_SCANS; fi # Enter target folder cd ALL_SCANS # Create the averate across all scans that enter our analysis (471 scans) 3dMean -overwrite -prefix all_mean.nii.gz `ls ../sub-??...
e0138e3bb27e3e4bef3fffbeb9bc645eddc7cd60745f084db470ccff315dc93f
Shell
2,448
51
#!/bin/bash # Output file for HTCondor submit submit_file="submit_SHAP-IQ_AutoGluon_SHIP_final.submit" # Clear the existing submit file if it exists > $submit_file # Define the number of cores (CPUs) num_cores=1 # Write the environment settings to the submit file echo "# The environment" >> $submit_file echo "unive...
c6030114a91c48fb0f6debf5ff7d367e59d5ddef5f3c832cf97817644b12dd29
Shell
2,449
73
#!/bin/sh ##### # This wrapper script submits job to the schduler to run KRR in the ABCD dataset. # This runs the prediction procedure (10 site choose 3 cross validation). # # Input: # -min: # An integer indicating which FC to run regression for. # # -vers: # The manner in which FC was calculated (See FC...
f26b0ecba056db40568ed17d644ec7572982369f91a8dd419c9fca66c8e892c0
Shell
2,450
79
#!/usr/bin/env bash # # Copyright 2021 DeepMind Technologies Limited # # 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...
990261b574e7cf231f3f276a01fe454a9ca49fe785fa917b7e3d3ee2e468cdf6
Shell
2,452
82
#!/bin/sh echo "Cora" echo "====" echo "GCN" python gcn.py --dataset=Cora python gcn.py --dataset=Cora --random_splits echo "GAT" python gat.py --dataset=Cora python gat.py --dataset=Cora --random_splits echo "Cheby" python cheb.py --dataset=Cora --num_hops=3 python cheb.py --dataset=Cora --num_hops=3 --random_spli...
bc32326da5d742df0727841a3deec3c5ecf23bc3d361824def129b6c83b9bad5
Shell
2,454
74
#!/bin/sh ##### # This wrapper script submits job to the schduler to run KRR in the HCP dataset. # This runs the prediction procedure (10 fold cross validation). # # Input: # -seed: # An integer of the the random seed used to split the folds # # -min: # An integer indicating which FC to run regression f...
8d9fd918d49c5b999d29d3b10021178aa42e5766b17f2c7edfc6da747afa2a65
Shell
2,455
55
#!/bin/bash ########## #The MIT License (MIT) # # Copyright (c) 2015 Aiden Lab # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights #...
af919b547a7d7ce3233424ba6bc4b6940b2964d60891d5dfc38f3b203264da7e
Shell
2,464
65
#! /bin/bash #Example Results Directory #cp /Users/ranump/Desktop/Charlie_test/SPLiT-Seq_demultiplexing/results-UMI RanHex_barcodes="./RanHex.txt" Odt_barcodes="./OligoDT.txt" OUTPUT_DIR="results" # Read in the RandomHexamer and OligoDT RT primer barcode sequences declare -a RanHex_BARCODES=( $(cut -b 1- $RanHex_ba...
fe88af7fb89a8b611eb0eacc4749fe198e1c36ccd4b3d9287eec056a1ae9a4d8
Shell
2,464
51
#!/bin/bash # Output file for HTCondor submit submit_file="submit_run_SHAP-IQ_AutoGluon_KI.submit" # Clear the existing submit file if it exists > $submit_file # Define the number of cores (CPUs) num_cores=1 # Write the environment settings to the submit file echo "# The environment" >> $submit_file echo "universe ...
2d6b12aacb5fb24309dab3d5f9d7588f86f100e425c1d0d713dd900731d2c395
Shell
2,465
65
#!/bin/bash ### fix bet with manual mask ### update template spaew rgistrations ### after running rerun preocn_all with precon_2 ### only for use with templates defined in $PCP_PATH/standards usage() { cat <<EOF Usage: $(basename "$0") <precon_dir> <updated_brain_mask> <animal> <reg_method> precon_dir ...
bbef6c664027697758165a9dc6cc98f52d89d7b099fe38edb4e9c114d562f91e
Shell
2,467
49
#!/bin/bash # This script aligns the species consensus for each gene with the reference genome. Using the coverage information, it selects the best coverage consensus (either genomes or transcriptomes) and, if necessary, replaces genomic consensus by transcriptomic consensus. # The script makes a nucleotide alignment ...
4cd00f537688e08ef94f585a6ffbdf6823fdd6113f58ee09eb9df64f45c4f21b
Shell
2,469
24
#!/usr/bin/env bash # for untargeted attacks, use the following commands python tangent_attack_hemisphere/attack.py --gpu 0 --norm l2 --dataset CIFAR-10 --attack_defense --defense_model adv_train --arch resnet-50 python tangent_attack_hemisphere/attack.py --gpu 0 --norm l2 --dataset CIFAR-10 --attack_defense --defen...
9a9a47dd5db745f04c2088d9c97f7da90f725bb3e0366b6bf47340a20cd6c194
Shell
2,469
65
#!/bin/bash ########################################################## # CREATED BY DAVIT BZHALAVA on 2014/10/26 # ########################################################## export path_htsa_dir=$1 export project_work_dir=$2 if [ -d $project_work_dir/PB_tblastx ]; then rm -r $proj...
427a2546cd1ab87893badaf26c122f28e4f7ab83932473c9d83566486bc4b8d4
Shell
2,470
75
#!/bin/bash # Define the split_ratios array to use split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=6 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $POR...
c5f8236e8feb2e7f98b8878532de880a68a1d460e95da612c8313c64b23b503f
Shell
2,471
77
#!/usr/bin/env bash ########################################################################################################################## ## CCS SCRIPT TO generagte mask files for second-level group analysis ## ## This script can be run on its own, by filling in the appropriate parameters ## Alternatively this sc...
740531307266d8c78b699a9aa6b3113bf73228842acefc1b12b49d9706ac3d27
Shell
2,473
70
#!/bin/sh # This function uses linear ridge regression to predict fluid intelligence score (PMAT24_A_CR) in the HCP dataset. # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ######################## # setup for CIRC cluster ######################## curr_...
5f1fa692d2634c7ad9af590707f133cd5cd9188d850ac23e3f88c28ba55af49d
Shell
2,475
68
#!/usr/bin/env bash ########################################################################################################################## ## CCS SCRIPT TO PREPROCESS THE DTI SCAN (INTEGRATE AFNI AND FSL) ## ## R-fMRI master: Xi-Nian Zuo. Aug. 13, 2011. ## ## Last Modified: Dec., 20, 2014. ## Email: zuoxn@psych.ac...
5f89d15ace812989d9e96818970d4f1035d08b886fa8a5b10f04dcfea24a580a
Shell
2,476
82
#!/bin/bash # Define the split_ratios array to use split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=5 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $P...
9f738b4f0bca5202ea0213bb8a23c7bc688328b601c0473a0496d3182d862a74
Shell
2,476
82
#!/bin/bash # Define the split_ratios array to use split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=4 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $P...
85fcd92db685aabd08261ccfd0c659edad9fab3a1cecf493ac1a2a94e3fc3535
Shell
2,480
64
#!/bin/bash #SBATCH --account=girirajan # TODO: set account name #SBATCH --partition=girirajan # TODO: set slurm partition #SBATCH --job-name=ANNOVAR #SBATCH --ntasks=1 #SBATCH --cpus-per-task=8 #SBATCH --time=400:0:0 #SBATCH --mem-per-cpu=20G #SBATCH --chdir /data7/iPSC_corrine/STR/src #SBATCH -o logs/4_ANNOVAR.log #S...
f7eb03a44714649940b8b7aa4fb5f86c3d1a9d4aa19d1c66c43e3e4c7b08ebc2
Shell
2,482
74
#!/usr/bin/env bash # Publish model catalog JSON files as GitHub Release assets. # # Usage: # bash dev/publish_model_catalog.sh [--repo OWNER/REPO] [--tag TAG] [--catalog-dir DIR] # # Defaults: # --repo mlflow/mlflow # --tag model-catalog/latest # --catalog-dir mlflow/utils/model_catalog # # The sc...
15c2a094a3bc021508f09b4cd7f0121b4bd45f542f9c7f7a395610cf17699323
Shell
2,483
82
#!/bin/bash # Define the split_ratios array to use split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=7 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $...
13a1c4ea2a58dcc12552d9b24d4af1afe2004611e887b33eb93a460efa42d09f
Shell
2,491
81
#!/bin/bash #SBATCH --nodes=1 #SBATCH --partition=gpus #SBATCH --time=100:00:00 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=32 #SBATCH --job-name=sepoffMM #SBATCH --error=joblog_error_%j.txt #SBATCH --output=joblog_output_%j.txt echo $SLURM_SUBMIT_DIR echo "Running on `hostname`" # data source path_biotools="/gpfs/sc...
c0ffae9f76b01177766a586d4ea78aa67d2ec3f181c8e50f77e21a7f96b6b69c
Shell
2,493
82
#!/bin/bash # Define the split_ratios array to use split_ratios=(1 0.01 0.1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=7 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $...
e4fd2561b42745bb90d58311c051a1bf36b7af6ab0508275fe0fd41fd2687b72
Shell
2,493
62
#!/bin/bash ########################################################## # CREATED BY DAVIT BZHALAVA on 2013/11/16 # #This program selects unknown sequences (by nt blasting) # #and blastes agains protein database by blastx algorithm # #####################################################...
b49d9997395a91352f45f279cf0d846395d20de7c687afa32e2c95a5b685935d
Shell
2,499
82
#!/bin/bash # Define the split_ratios array to use 0.01 0.1 split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=5 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done ...
bd8a669c4440b2c33235423ba7a503aa4fcebcf02b4ec406a04b4d4c86ff7159
Shell
2,499
82
#!/bin/bash # Define the split_ratios array to use 0.01 0.1 split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=4 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done ...
3ee4d1a6a87d60578c3859b83e1450acaf9ce30340a11a8d7a01110654375fd2
Shell
2,500
73
#!/bin/sh ##### # This wrapper script submits job to the schduler to run KRR in the ABCD dataset. # This runs the reliability procedure (10 site choose 5 cross validation). # # Input: # -min: # An integer indicating which FC to run regression for. # # -vers: # The manner in which FC was calculated (See F...
0925058c95f28303fd64d2c2373b460600cd081893b072175b7c4f299eb5f152
Shell
2,506
95
#!/bin/bash -e # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. # run this script from the project root using `./scripts/build_docs.sh` usage() { echo "Usage: $0 [-b]" echo "" ...
21650cab3a33720f166398add84f6e2156691b68d0c8de27aae77ec7e9e5210d
Shell
2,508
51
#!/bin/bash # Output file for HTCondor submit submit_file="submit_run_SHAP-IQ_AutoGluon_VETSA.submit" # Clear the existing submit file if it exists > $submit_file # Define the number of cores (CPUs) num_cores=1 # Write the environment settings to the submit file echo "# The environment" >> $submit_file echo "univer...
4ad4d24fcb85829fab8e11cc1119cb936d07a280c9ab1a44def51f3f1b192f58
Shell
2,508
51
#!/bin/bash # Output file for HTCondor submit submit_file="submit_run_SHAP-IQ_AutoGluon_Pitts.submit" # Clear the existing submit file if it exists > $submit_file # Define the number of cores (CPUs) num_cores=1 # Write the environment settings to the submit file echo "# The environment" >> $submit_file echo "univer...
00292331652c22b902195cd6155010ccd56768820211d4c280fb93adbfe18d08
Shell
2,510
51
#!/bin/bash # Output file for HTCondor submit submit_file="submit_run_SHAP-IQ_AutoGluon_Liege.submit" # Clear the existing submit file if it exists > $submit_file # Define the number of cores (CPUs) num_cores=1 # Write the environment settings to the submit file echo "# The environment" >> $submit_file echo "univer...
00db2d5ba7493cda963516925f84ad55122886b2f6359eeb2af71bef8f60497a
Shell
2,510
63
#!/bin/bash # define project directory and working directory pd=/your/project/directory/ input_dir=$pd/data/validations/ATAC_seq_FASTQ_trimmed output_dir=$pd/data/validations/ATAC_seq_BAM mkdir -p $output_dir # map human samples for i in `ls $input_dir/human*r1.trimmed.fastq.gz| xargs -n1 basename`; do sample...
674ad02620f25fc48cb36ad3f8a98422aadb1e82a382f7f5958dc9b15a092c28
Shell
2,511
71
#!/bin/sh # This function replicate the kernel ridge regression results in the GSP dataset shown in Li et al., 2019 # Only two behavioral measures are included: Shipley_Vocab_Raw and Matrix_WAIS # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ##########...
cb269788ba92f9246e441dddcc1e820eca83e6271e18ef5b537738df59ad75fd
Shell
2,513
65
#!/bin/bash ## Example bash script to filter ChIP-seq bams by removing multi-mapped reads, blacklisted regions and duplicates. To run this script, do: qsub -t 1-n submit_filterChIP-seq.sh CONFIG IDS BAM_DIR ## CONFIG is the path to the file scripts/config.sh which contains environment variables set to commonly used pa...
feeea7015c1d0623a5c3ea9d33e08daef06dc973a76dd6788cfcfc5c03d665d8
Shell
2,515
69
#!/bin/bash #SBATCH -c 4 #SBATCH -t 0-08:00 # 8h cap on priority (was 18h on medium) #SBATCH -p priority #SBATCH --mem=220G # bumped from 150G: job 40119383 hit # 153GB peak then OOM-killed in ...
0dd9adc4ceebec5686a8799d5a01c211e4a52da9980224835381630d47b11246
Shell
2,525
82
#!/bin/bash # Define the split_ratios array to use split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=5 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $...
fcae3a19d8ba522b17742737718a19e0752ffd5176ef60f502a1cbdcf9593388
Shell
2,525
82
#!/bin/bash # Define the split_ratios array to use split_ratios=(0.01 0.1 1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=4 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $...
477d0abd7dfc67098b5b53662bcc1d19407471a97cceaa434bc5c0981c788ba7
Shell
2,527
70
#!/bin/sh # This function uses kernel ridge regression to predict fluid intelligence score (PMAT24_A_CR) in the HCP dataset. # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ######################## # setup for CIRC cluster ######################## curr_...
61a32c5276ecf87612a5672c1af6611d4cdcd7f90967f4600f1ba9b1c2d5fcce
Shell
2,529
62
#!/bin/bash ########################################################## # CREATED BY DAVIT BZHALAVA on 2013/11/16 # #This program selects unknown sequences (by nt blasting) # #and blastes agains protein database by blastx algorithm # #####################################################...
7868e3f0ce5b14620ce0ccb6a0a9607e08bcb55a3be261ac1a1c844e4ed54dc8
Shell
2,530
67
#!/bin/bash tools_dir=$(realpath $(dirname $(command -v $0))) # if first argument is 1 set the COMPILE flag if [[ $1 == 1 ]]; then COMPILE=1 else COMPILE=0 fi # if COMPILE=0 if [[ $COMPILE == 0 ]]; then # download NORDIC from github release [[ -d $tools_dir/pkg/nordic ]] && rm -rf $tools_dir/pkg/nord...
2abc1c732ead57b0364520b1b6f6a5ecf1c0d3f9a8d11646403ff8fb625a8e1c
Shell
2,535
82
#!/bin/bash # Define the split_ratios array to use split_ratios=(1 0.01 0.1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=4 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $...
ed90924c489807cfecad84f280b5128b57e04914cb6c757d8ea11b3727e7693c
Shell
2,535
82
#!/bin/bash # Define the split_ratios array to use split_ratios=(1 0.01 0.1) sampling_methods=("random") export CUDA_VISIBLE_DEVICES=5 export OMP_NUM_THREADS=1 generate_random_port() { while :; do PORT=$(( ( RANDOM % 63000 ) + 2000 )) ss -lpn | grep -q ":$PORT " || break done echo $...
0d5e487b3935102aef4c2d442e163488447e24a40e9aa55e74b6b146915a05c1
Shell
2,541
75
#!/bin/sh ##### # This wrapper script submits job to the schduler to run KRR in the HCP dataset. # This runs the prediction procedure (10 fold cross validation). # Runs the predictions for subcortical connections specifically. # # Input: # -seed: # An integer of the the random seed used to split the folds # # ...
9f3f27272e8eb42caf87e4d9e13b1fc71ccb40be0335a3958d8aacb6ae6fc36f
Shell
2,542
97
#!/bin/bash unameOut="$(uname -s)" case "${unameOut}" in Linux*) machine=Linux; folder=Other;; Darwin*) machine=Mac; folder=macOS;; CYGWIN*) machine=Windows; folder=Windows;; MINGW*) machine=Windows; folder=Windows;; *) machine="UNKNOWN" esac if [ "${machine}" == "UNKNOWN" ...
08ffe6aad76508e7b0f98e78ffd8fa6005009b44bb4eb887b8669c045e803a82
Shell
2,548
41
# =========================================================== # 2d loss contours for VGG-9 # =========================================================== # ------------------------------------------------------------ # SGD #------------------------------------------------------------ mpirun -n 4 python plot_surface.py ...
576cc8b8ab8d9533f47eaf70053aec8d7ea90dc5e3cd0812770d300b8e8aeff2
Shell
2,549
66
#!/bin/sh ##### # This script submits job to the schduler to run the specified type of reliability interpretation. # These scripts are for the ABCD dataset. # # Input: # -vers: # Indicates the version of the prediction procedure that was run. Can be either "full" or "random" # # -method: # Indicat...
076a7396d49f982c092d7853e152b456457675fd49a93d01417ff63f29e960f6
Shell
2,550
74
#!/bin/sh ##### # This wrapper script submits job to the schduler to run KRR in the ABCD dataset. # This runs the prediction procedure (10 site choose 3 cross validation). # This script specificall runs the procedure for subcortical connections (419x19 FC prediction) # # Input: # -min: # An integer indicating ...
3728a9e8f48a7aacff9628d439b99acfe72052062015ecc399115e0b37c29733
Shell
2,550
63
#!/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...