-
Notifications
You must be signed in to change notification settings - Fork 0
/
farprotax.csh
52 lines (41 loc) · 1.13 KB
/
farprotax.csh
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
44
45
46
47
48
49
50
51
52
#!/bin/sh
#
####SBATCH --job-name=farprotax
#SBATCH --time=72:00:00
#SBATCH --ntasks=12
#SBATCH --cpus-per-task=1
#SBATCH --partition=shared
#load qiime module
module load qiime2/2018.8
export TMPDIR='/scratch/users/s-zwang302@jhu.edu/tmp'
export LC_ALL=en_US.utf-8
export LANG=en_US.utf-8
echo "Beginning QIIME"
date
qiime taxa collapse \
--i-table table.qza \
--i-taxonomy taxonomy.qza \
--p-level 7 \
--o-collapsed-table table_l7.qza
date
qiime tools export \
--input-path table_l7.qza \
--output-path table_l7_export
date
~/work/code/FAPROTAX_1.2.4/collapse_table.py -i
table_l7_export/feature-table.biom -o
table_l7_export/FAPROTAX_output_table.txt -r
table_l7_export/FAPROTAX_report.txt -l
table_l7_export/FAPROTAX_log.txt \
--input_groups_file ~/work/code/FAPROTAX_1.2.4/FAPROTAX.txt \
date
biom convert -i
table_l7_export/FAPROTAX_output_table.txt -o
table_l7_export/FAPROTAX_output_table.biom \
--table-type="OTU table" \
--to-hdf5 \
date
qiime tools import \
--input-path table_l7_export/FAPROTAX_output_table.biom \
--type 'FeatureTable[Frequency]' \
--output-path table_l7_export/FAPROTAX_output_table.qza