Mercurial > repos > bcclaywell > microbiome_pplacer_suite
view alignment-wrapper.sh @ 8:35f9b833e12b draft default tip
planemo upload commit 2774930eebe258ecd56c8f1c5ddabf5092282ab9
author | bcclaywell |
---|---|
date | Mon, 12 Oct 2015 16:09:02 -0400 |
parents | 221a97bf686d |
children |
line wrap: on
line source
#!/bin/bash source $1 # adapted from yapp/bin/refpkg_align ref_sto=$(taxit rp ${REFPKG} aln_sto) profile=$(taxit rp ${REFPKG} profile) sto=$(mktemp -u).sto cmalign --cpu ${GALAXY_SLOTS:-4} -o "$sto" --sfile "${ALIGNED_SCORES}" --noprob --dnaout "$profile" "${INPUT_SEQS}" | grep -E '^#' esl-alimerge --dna --outformat afa "$ref_sto" "$sto" | \ seqmagick convert --output-format fasta --dash-gap - "${ALIGNED_SEQS}"