Skip to content
Snippets Groups Projects
Commit d4013ee3 authored by Brandi Cantarel's avatar Brandi Cantarel
Browse files

adding updates for rna

parent ba64b4b1
Branches
Tags
No related merge requests found
...@@ -55,9 +55,9 @@ else ...@@ -55,9 +55,9 @@ else
module load hisat2/2.1.0-intel module load hisat2/2.1.0-intel
if [ $fq1 == $fq2 ] if [ $fq1 == $fq2 ]
then then
hisat2 -p $SLURM_CPUS_ON_NODE --rg-id ${pair_id} --rg LB:tx --rg PL:illumina --rg PU:barcode --rg SM:${pair_id} --add-chrname --no-unal --dta -x ${index_path}/hisat_index/genome -U $fq1 -S out.sam --summary-file ${pair_id}.alignerout.txt hisat2 -p $SLURM_CPUS_ON_NODE --rg-id ${pair_id} --rg LB:tx --rg PL:illumina --rg PU:barcode --rg SM:${pair_id} --no-unal --dta -x ${index_path}/hisat_index/genome -U $fq1 -S out.sam --summary-file ${pair_id}.alignerout.txt
else else
hisat2 -p $SLURM_CPUS_ON_NODE --rg-id ${pair_id} --rg LB:tx --rg PL:illumina --rg PU:barcode --rg SM:${pair_id} --add-chrname --no-unal --dta -x ${index_path}/hisat_index/genome -1 $fq1 -2 $fq2 -S out.sam --summary-file ${pair_id}.alignerout.txt hisat2 -p $SLURM_CPUS_ON_NODE --rg-id ${pair_id} --rg LB:tx --rg PL:illumina --rg PU:barcode --rg SM:${pair_id} --no-unal --dta -x ${index_path}/hisat_index/genome -1 $fq1 -2 $fq2 -S out.sam --summary-file ${pair_id}.alignerout.txt
fi fi
if [[ $umi==1 ]] if [[ $umi==1 ]]
then then
......
...@@ -34,7 +34,7 @@ then ...@@ -34,7 +34,7 @@ then
SLURM_CPUS_ON_NODE=1 SLURM_CPUS_ON_NODE=1
fi fi
source /etc/profile.d/modules.sh source /etc/profile.d/modules.sh
module load subread/1.5.0-intel stringtie/1.1.2-intel module load subread/1.6.1 stringtie/1.3.2d-intel
featureCounts -s $stranded -T $SLURM_CPUS_ON_NODE -p -g gene_name -a ${gtf} -o ${pair_id}.cts ${sbam} featureCounts -s $stranded -T $SLURM_CPUS_ON_NODE -p -g gene_name -a ${gtf} -o ${pair_id}.cts ${sbam}
mkdir ${pair_id}_stringtie mkdir ${pair_id}_stringtie
......
...@@ -62,7 +62,7 @@ module load python/2.7.x-anaconda picard/2.10.3 samtools/1.6 bedtools/2.26.0 snp ...@@ -62,7 +62,7 @@ module load python/2.7.x-anaconda picard/2.10.3 samtools/1.6 bedtools/2.26.0 snp
for i in *.bam; do for i in *.bam; do
if [[ ! -f ${i}.bai ]] if [[ ! -f ${i}.bai ]]
then then
samtools index --threads $SLURM_CPUS_ON_NODE $i samtools index -@ $SLURM_CPUS_ON_NODE $i
fi fi
done done
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment