trees2nexus
来自「fastDNAml is an attempt to solve the sam」· 代码 · 共 19 行
TXT
19 行
#! /bin/sh## Convert one tree per line into PAUP (NEXUS) tree file# Accepts input from named file(s) or standard input#echo "#NEXUS"echo ""echo "Begin Trees;"if test $# -eq 0; then egrep -n "." | sed -e 's/:/ = /' -e 's/^/ utree /'else i=0 for file in $*; do i=`expr $i + 1` sed -e 's/^/ utree '"$i"' = /' $file donefiecho "Endblock;"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?