forked from songweizhi/Katana_cmds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGraphMB.sh
37 lines (22 loc) · 1.11 KB
/
GraphMB.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
######################## install GraphMB (Conda) (Mac and Katana) ########################
# https://github.com/MicrobialDarkMatter/GraphMB
conda create -n graphmb -c conda-forge make cmake libgcc python=3.7 pip
conda activate graphmb
pip install https://github.com/AndreLamurias/GraphMB/releases/download/v0.1.5/graphmb-0.1.5-py3-none-any.whl
####################################### run GraphMB ######################################
# In summary, you need to have a directory with these files:
# edges.fasta
# assembly_graph.fasta
# edges_depth.txt (output of jgi_summarize_bam_contig_depths)
# marker_gene_stats.csv (optional)
# Example commands
# https://graphmb.readthedocs.io/en/latest/examples.html
# Typical workflow
# https://github.com/MicrobialDarkMatter/GraphMB
conda activate graphmb
graphmb -h
####################################### run GraphMB ######################################
conda activate graphmb
cd /srv/scratch/z5039045/GraphMB_wd
graphmb --assembly data/strong100/ --outdir results/strong100/
checkm lineage_wf -x fa --reduced_tree -t 4 --tab_table bins_dir/ outputdir/ -f outputdir/checkm.tsv