comparison create_dataset.sh @ 0:4394f98e705e draft default tip

"planemo upload for repository https://github.com/Bierinformatik/miRNAture/tree/galaxy_add/Galaxy/miRNAture commit 47a893683a9445abddce77c28f43d098b62cf385"
author cavelandiah
date Sun, 27 Nov 2022 22:00:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4394f98e705e
1 #!/usr/bin/env bash
2
3 input=$1
4
5 dir=$2
6 mkdir $dir/uncompress
7 cp $input $dir/uncompress/data.gz
8 Dir_name=`tar -tf $dir/uncompress/data.gz | head -1 | cut -f1 -d"/" | sort | uniq`
9 tar -xf $dir/uncompress/data.gz --directory $dir/uncompress/
10 mv $dir/uncompress/${Dir_name} $dir/uncompress/Dataset