Improved portability across *nix ecosystem
Enhanced tool for detecting CNVs from whole-exome sequencing data
Status: Beta
Brought to you by:
albertomagi
Hi,
apparently the bash script FiltBam.sh presents an if statement which is not portable on my OS (Ubuntu). I fixed it by changing these lines
if [ ! -d "$Output_Folder/.tmp" ]; then
mkdir $Output_Folder/.tmp
fi
with this line
mkdir $Output_Folder/.tmp
Alternatively, one could also change it to (double square bracket)
if [ ! -d "$Output_Folder/.tmp" ]; then
mkdir $Output_Folder/.tmp
fi
I don't know how to push commits on SourceForge, otherwise I would have made it.
Hope it helps anybody, cheers.
EB
Aaaand I put a typo in, it should be
mkdir -p $Output_Folder/.tmp