Skip to content

Commit 6a6b641

Browse files
committed
geneformer restructured + tf binding early version added
1 parent c7b3da6 commit 6a6b641

20 files changed

Lines changed: 2363 additions & 1380 deletions

File tree

src/methods/geneformer/helper.py.py

Lines changed: 1188 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
#SBATCH --job-name=geneformer
3+
#SBATCH --output=logs/%j.out
4+
#SBATCH --error=logs/%j.err
5+
#SBATCH --ntasks=1
6+
#SBATCH --cpus-per-task=20
7+
#SBATCH --time=25:00:00
8+
#SBATCH --mem=250GB
9+
#SBATCH --partition=cpu
10+
#SBATCH --mail-type=END,FAIL
11+
#SBATCH --mail-user=jalil.nourisa@gmail.com
12+
13+
method="geneformer"
14+
15+
# Import argument parsing functionality
16+
source "src/utils/parse_args.sh"
17+
18+
# Parse command line arguments
19+
parse_arguments "$@"
20+
21+
# Pass arguments to Python script
22+
python_args="--rna $rna --prediction $prediction"
23+
if [ ! -z "$layer" ]; then
24+
python_args="$python_args --layer $layer"
25+
fi
26+
27+
singularity run ../../images/geneformer python src/methods/${method}/script.py $python_args

0 commit comments

Comments
 (0)