-
Notifications
You must be signed in to change notification settings - Fork 14
ROP analysis of multiple sample via qsub
Serghei Mangul edited this page Aug 2, 2016
·
4 revisions
In case you have many files you can submit multiple jobs using qsub.
Run ROP for all the samples at once :
-
Run a single sample from the command line to make sure there are no unexpected errors.
-
Create a text file with all of the file names (no extensions) that will be run
ls *fasta | awk -F ".fasta" '{print $1}'>sample.txt
- Create a run.sh file for each sample that will be run.
#general example
while read line; do echo "<your command here>" > run_${line}.sh; done < <path to file with all sample names>
#implementation for ROP tool
while read line; do echo "python /u/home/s/serghei/code2/rop/rop.py --qsubArray --skipQC /u/home/b/brigitta/scratch/gtex/data/${line}.fasta $PWD/${line}" > run_${line}.sh; done<../sample.txt
Please follow the following steps:
ls run*sh | awk '{i+=1;print "qsub -cwd -V -N rop"i" -l h_data=16G,time=24:00:00 "$1}' > all.sh
Now you have all.sh
with individual qsub command per sample. To run all the qsubs from all.sh
do the following:
- chmod u+x all.sh
- nohup ./all.sh &
Don’t let your unmapped reads go to waste
- Main
- About ROP Tutorial
- What is ROP?
- How ROP works?
- How to prepare unmapped reads
- How to customize tools used by ROP
- Unix Tutorial
- Get started
- Targeted analysis
- ROP analysis: one RNA-Seq sample
- How to run ROP for mouse
- ROP analysis via qsub
- ROP analysis of multiple samples via qsub array
- Immune profiling by ROP (ImReP)
- ImRep across multiple samples
- ROP input details
- ROP output details
- Source of every last read
- Additional options
- How to calculate immune diversity?
- How to run hyper editing pipeline?