forked from refresh-bio/FAMSA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
25 lines (17 loc) · 1.11 KB
/
run.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
# !/bin/bash
# align sequences with default parameters (single linkage tree)
./famsa ./test/adeno_fiber/adeno_fiber sl.aln
# align sequences using UPGMA tree with 8 computing threads, store the result in the GZ archive
./famsa -gt upgma -t 8 -gz ./test/adeno_fiber/adeno_fiber upgma.aln.gz
# export a neighbour joining guide tree to the Newick format
./famsa -gt nj -gt_export ./test/adeno_fiber/adeno_fiber nj.dnd
# align sequences with the previously generated guide tree
./famsa -gt import nj.dnd ./test/adeno_fiber/adeno_fiber nj.aln
# align sequences with an approximated medoid guide tree and UPGMA subtrees
./famsa -medoidtree -gt upgma ./test/hemopexin/hemopexin upgma.medoid.aln
# export distance matrix to CSV format (lower triangular)
./famsa -dist_export ./test/adeno_fiber/adeno_fiber dist.csv
# export pairwise identity (PID) matrix to CSV format (square)
./famsa -dist_export -pid -square_matrix ./test/adeno_fiber/adeno_fiber pid.csv
# profile-profile alignment without refining output
./famsa -refine_mode off ./test/adeno_fiber/upgma.no_refine.part1.fasta ./test/adeno_fiber/upgma.no_refine.part2.fasta pp.fasta