Skip to content

Commit

Permalink
Bugfix release:
Browse files Browse the repository at this point in the history
fixed src/NugeneMergeFastqFiles.pl
added new eb file for version 0.1.2
  • Loading branch information
mmterpstra committed Dec 18, 2015
1 parent fbb64c1 commit 63dcd19
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions eb/DigitalBarcodeReadgroups-0.1.2-goolf-1.7.20-Perl-5.20.2-bare.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
easyblock = 'Tarball'

name = 'DigitalBarcodeReadgroups'
version = '0.1.2'

homepage = 'https://github.com/mmterpstra/%s' % (name)
description = """Misc tools"""

toolchain = {'name': 'goolf', 'version': '1.7.20'}

source_urls = [('https://github.com/mmterpstra/%s/archive/' % (name) )]
sources = [ '%s.tar.gz' % version ]

perl = 'Perl'
perlver = '5.20.2'
perlversuffix = '-bare'
versionsuffix = '-%s-%s%s' % (perl, perlver, perlversuffix)

samtools='SAMtools'
samtoolsver='1.2'

dependencies = [
(perl, perlver, perlversuffix),
(samtools, samtoolsver),
]

#
# Check if all binaries are present.
#

sanity_check_paths = {
'files': [ 'src/NugeneDigitalSplitter.pl', 'src/NugeneMergeFastqFiles.pl' ],
'dirs': [ 'src/' ],
}

moduleclass = 'bio'
2 changes: 1 addition & 1 deletion src/NugeneMergeFastqFiles.pl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ sub main {


#if reading record fails from both fq files then end
while( ((((defined($ARGV[3]) && ! -e $ARGV[3] )|| (my $fq2 = ReadFastq(\$fastq2Handle) ))) && (my $fq1 = ReadFastq(\$fastq1Handle))) && (my $rfq = ReadFastq(\$randomBcHandle)) ){
while( ((((not(defined($ARGV[3])))|| (my $fq2 = ReadFastq(\$fastq2Handle) ))) && (my $fq1 = ReadFastq(\$fastq1Handle))) && (my $rfq = ReadFastq(\$randomBcHandle)) ){

warn $.if $. =~ /00000$/;
my $rbc = $rfq->[1];
Expand Down

0 comments on commit 63dcd19

Please sign in to comment.