From 99b6a0dbd965840d9379e2d8c5dded2ab6933585 Mon Sep 17 00:00:00 2001 From: Marco van Zwetselaar Date: Mon, 25 Jan 2016 01:21:59 +0300 Subject: [PATCH] Add example to uf-map, rename uf-headers to uf-hdrs. --- uf-headers => uf-hdrs | 2 +- uf-map | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename uf-headers => uf-hdrs (95%) diff --git a/uf-headers b/uf-hdrs similarity index 95% rename from uf-headers rename to uf-hdrs index 38d7810..5cfb219 100755 --- a/uf-headers +++ b/uf-hdrs @@ -1,6 +1,6 @@ #!/bin/sh # -# uf-headers - Extract the headers from an unfasta stream. +# uf-hdrs - Extract the headers from an unfasta stream. # Copyright (C) 2016 Marco van Zwetselaar # # This program is free software: you can redistribute it and/or modify diff --git a/uf-map b/uf-map index bfcedc9..05975db 100755 --- a/uf-map +++ b/uf-map @@ -38,6 +38,7 @@ usage_exit() { echo echo " Example" echo " \$ uf-map 'tr [:upper:] [:lower:]' # convert all seqs to lower case" + echo " \$ uf-map 'sed -re s,^.{12},,' # drop initial 12 elements from each" echo exit ${1:-1} }