An automated way to multieplex commandssdss for job submission
To install rna_draw
python -m pip install git+https://github.com/jyesselm/jobsubmit
jobsubmit --help
Takes a config file (config.yml)
run_dir: "runs"
tasks_per_job: 1
repeat: 1
slurm_args:
job_name: "test"
time: "01:00:00"
nodes: 1
ntasks_per_node: 1
mem: "2GB"
custom_args:
filename: "*.txt"
range_arg: "1-3,5,7-10"
Takes a template file (template.txt)
export VAR=/test
echo $VAR
echo "Processing filename: {filename}"
echo "Processing range argument: {range_arg}"
Runs as
jobsubmit template.txt config.yaml
This creates a runs directory with README_SUBMIT