...
Code Block |
---|
#!/bin/bash -l #PBS -N sra_fetch #PBS -l walltime=8:00:00 #PBS -l mem=8gb #PBS -l ncpus=4 #PBS -m bae ###PBS -M email@host #PBS -j oe #Usage: qsub fetch_SraAccList.pbs cd $PBS_O_WORKDIR for i in `cat SraAccList.txt`; do echo $i prefetch $i fastq-dump --split-files $i done |
Submit the job to the HPC cluster:
Code Block |
---|
./fetch_SraAccList.sh SraAccList.txt |