./genes.py genes.tsv index_files/*
-
Install Python 3.x version of miniconda
-
Install dependencies
conda install bio
-
Do gene thing
./gene.py genes.tsv RAST/*
-
Align
./align.sh output
-
Rename output files so they sort gooder
ls -1 output_aln/* | while read f; do nn=$(echo $f | sed 's|output_aln/fig_321327_43_peg_\([0-9]\+\).aln.fasta|\1.aln.fasta|'); mv $f output_aln/$nn; done
-
Make bigass fasta concatted file
./sequence_files_concat.py --identifier-pattern "(fig\|\d+\.\d+\.peg)" output_aln/* > out.fasta
-
Trim out all '-' columns
./trim_alignment.py out.fasta > out.trim.fasta