view mcm_final.sh @ 7:4c4838703fa8 draft default tip

planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mauve_contig_mover commit d396bc9f82b351c35ae4940ebfbb6a43e6e7215a
author brinkmanlab
date Thu, 25 Aug 2022 21:03:33 +0000
parents c14690ec0c9f
children
line wrap: on
line source

#!/usr/bin/env bash
ln -sf output/`ls -1 output | tail -n1` final
mv "`ls -1 final/*.backbone | tail -n1`" final.backbone
mv "`ls -1 final/*_contigs.tab | tail -n1`" final.contigs.tab
mv "`ls -1 final/*.fas | tail -n1`" final.reordered

FEATURES="`ls -1 final/*_features.tab 2>/dev/null | tail -n1`"
if [[ -w ${FEATURES} ]]; then
mv "${FEATURES}" final.features.tab
fi