Skip to content
Snippets Groups Projects
Commit 54013ebe authored by Holger Brandl's avatar Holger Brandl
Browse files

use short queue for star

parent f155bd8e
No related branches found
No related tags found
No related merge requests found
...@@ -52,6 +52,7 @@ fi ...@@ -52,6 +52,7 @@ fi
## build index if not present ## build index if not present
if [ ! -f "${star_index}/SA" ]; then if [ ! -f "${star_index}/SA" ]; then
chmod -R +w ${star_index}
mailme "${project}: creating STAR index for $igenome" mailme "${project}: creating STAR index for $igenome"
mkdir ${star_index} mkdir ${star_index}
...@@ -87,7 +88,7 @@ for fastqFile in $fastqFiles ; do ...@@ -87,7 +88,7 @@ for fastqFile in $fastqFiles ; do
STAR --genomeDir $star_index --readFilesIn $fastqFile --runThreadN 6 --readFilesCommand zcat --outFileNamePrefix ${fastqBaseName}. --outSAMtype BAM SortedByCoordinate --outSAMstrandField intronMotif --sjdbGTFfile $gtfFile STAR --genomeDir $star_index --readFilesIn $fastqFile --runThreadN 6 --readFilesCommand zcat --outFileNamePrefix ${fastqBaseName}. --outSAMtype BAM SortedByCoordinate --outSAMstrandField intronMotif --sjdbGTFfile $gtfFile
mv ${fastqBaseName}.Aligned.sortedByCoord.out.bam ${fastqBaseName}.bam mv ${fastqBaseName}.Aligned.sortedByCoord.out.bam ${fastqBaseName}.bam
samtools index ${fastqBaseName}.bam samtools index ${fastqBaseName}.bam
" -n 5 -R span[hosts=1] -q medium | joblist .tophatjobs " -n 5 -R span[hosts=1] -q short | joblist .tophatjobs
done done
wait4jobs .tophatjobs wait4jobs .tophatjobs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment