-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated all version info for Release v0.16.0
- Loading branch information
FelixKrueger
committed
Apr 20, 2016
1 parent
fef3c72
commit 65214d1
Showing
11 changed files
with
55 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/usr/bin/perl | ||
use warnings; | ||
use strict; | ||
use File::Copy "cp"; | ||
|
||
my $dir = shift@ARGV; | ||
|
||
die "Please provide a directory to copy files to!\n\n" unless ($dir); | ||
|
||
unless (-d $dir){ | ||
warn "Specified directory '$dir' doesn't exist. Creating it for you...\n\n"; | ||
mkdir $dir or die "Failed to create directory: $!\n\n"; | ||
} | ||
|
||
my @files = ('RELEASE_NOTES.txt','bismark','bismark_genome_preparation','bismark_methylation_extractor','bismark2bedGraph','bismark2report','coverage2cytosine','license.txt','Bismark_User_Guide.pdf','RRBS_Guide.pdf','deduplicate_bismark','bismark_sitrep.tpl','bam2nuc','bismark2summary'); | ||
|
||
foreach my $file (@files){ | ||
copy_and_warn($file); | ||
} | ||
|
||
sub copy_and_warn{ | ||
my $file = shift; | ||
warn "Now copying '$file' to $dir\n"; | ||
cp($file,"$dir/") or die "Copy failed: $!"; | ||
|
||
} | ||
|
||
@files = ('bismark','bismark_genome_preparation','bismark_methylation_extractor','bismark2bedGraph','bismark2report','coverage2cytosine','deduplicate_bismark','bam2nuc','bismark2summary'); | ||
|
||
foreach my $file (@files){ | ||
set_permissions($file); | ||
} | ||
|
||
sub set_permissions{ | ||
my $file = shift; | ||
warn "Setting permissions for ${dir}/$file\n"; | ||
chmod 0755, "${dir}/$file"; | ||
} | ||
|
||
|
||
### Taring up the folder | ||
$dir =~ s/\/$//; | ||
warn "Tar command:\ntar czvf ${dir}.tar.gz $dir\n\n"; | ||
sleep(3); | ||
system ("tar czvf ${dir}.tar.gz $dir/"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters