annotate alignment-wrapper.sh @ 7:b6ece07bec6a
draft
planemo upload commit 45906ba522c7c319067e93d5cd5d7161223c3336
| author |
bcclaywell |
| date |
Mon, 12 Oct 2015 15:59:59 -0400 |
| parents |
221a97bf686d |
| children |
|
| rev |
line source |
|
3
|
1 #!/bin/bash
|
|
|
2
|
|
|
3 source $1
|
|
|
4
|
|
|
5 # adapted from yapp/bin/refpkg_align
|
|
|
6 ref_sto=$(taxit rp ${REFPKG} aln_sto)
|
|
|
7 profile=$(taxit rp ${REFPKG} profile)
|
|
|
8
|
|
|
9 sto=$(mktemp -u).sto
|
|
|
10
|
|
|
11 cmalign --cpu ${GALAXY_SLOTS:-4} -o "$sto" --sfile "${ALIGNED_SCORES}" --noprob --dnaout "$profile" "${INPUT_SEQS}" | grep -E '^#'
|
|
|
12
|
|
|
13 esl-alimerge --dna --outformat afa "$ref_sto" "$sto" | \
|
|
|
14 seqmagick convert --output-format fasta --dash-gap - "${ALIGNED_SEQS}"
|