-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathtransdecoder.sh
executable file
·46 lines (34 loc) · 1.13 KB
/
transdecoder.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
#SBATCH --job-name=transdecoder
#SBATCH -n 1
#SBATCH -N 1
#SBATCH -c 16
#SBATCH --mem=100G
#SBATCH --partition=general
#SBATCH --qos=general
#SBATCH --mail-type=ALL
#SBATCH [email protected]
#SBATCH -o %x_%j.out
#SBATCH -e %x_%j.err
hostname
date
##################################################
## Combining the trinity assemblies ##
##################################################
cat ../Assembly/trinity_U13.Trinity.fasta \
../Assembly/trinity_U32.Trinity.fasta \
../Assembly/trinity_K32.Trinity.fasta \
../Assembly/trinity_K23.Trinity.fasta >> ../Assembly/trinity_combine.fasta
##################################################
## Determine ORF using Transdecoder ##
##################################################
module load hmmer/3.2.1
module load TransDecoder/5.3.0
TransDecoder.LongOrfs -t ../Assembly/trinity_combine.fasta
hmmscan --cpu 16 \
--domtblout pfam.domtblout \
/isg/shared/databases/Pfam/Pfam-A.hmm \
trinity_combine.fasta.transdecoder_dir/longest_orfs.pep
TransDecoder.Predict -t ../Assembly/trinity_combine.fasta \
--retain_pfam_hits pfam.domtblout \
--cpu 16