add description field to the pod.
[sgn.git] / bin / sequence_metadata / get_unique_features.sh
blobb35f10739327fdd41b24a771ccc0fcdab8691ad8
1 #! /usr/bin/env bash
3 # This script will return a line-separated list of unique features in the provided gff3 file, by
4 # getting the unique values from the first column.
6 # Usage: ./get_unique_features.sh <infile>
8 if [ "$#" -ne 1 ]; then
9 echo "Usage: $0 <infile>"
10 exit 1
13 awk -F $'\t' '{print $1}' "$1" | sort | uniq