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>"
13 awk -F $
'\t' '{print $1}' "$1" |
sort |
uniq