https://github.com/epiqc/ScaffCC
Raw File
Tip revision: c89857074e85d3e843cda9f33a19a30808b40c06 authored by EPiQC on 08 July 2019, 18:49:30 UTC
Merge pull request #36 from AndrewLitteken/ScaffCC_OSX
Tip revision: c898570
basename.sh
#!/bin/bash

# Yes, a basename util does exist, but it is not the same between Ubuntu and Debian
# No, existance is not checked; that is handled by the programs that use this as an input
var=${1##*/}
var=${var%%.scaffold}
echo ${var%%.scaf}
back to top