Skip to content

Commit

Permalink
corrected the log output for TrimSeq4scRNAseq.pl to properly output i…
Browse files Browse the repository at this point in the history
…ndex sequences in the log file.\n
  • Loading branch information
kbattenb committed Mar 4, 2021
1 parent e91c0d2 commit 6aadc51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sub/TrimSeq4scRNAseq.pl
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
if (!$out) {
die "USAGE: option --out is required.\n";
}
my @indices = @{ $index };

#checking option quality
if (-e $out && -d $out) {
Expand All @@ -98,7 +99,7 @@
print LOG "#####TrimSeq4scRNAseq.pl LOG#####\n";
print LOG "R1 file:\t$r1\n";
print LOG "R2 file:\t$r2\n";
print LOG "Index sequence:\t$index\n";
print LOG "Index sequence:\t@indices\n";
print LOG "\n";
print LOG "Tool versions:\n";
print LOG "\tFASTQC $fastqc_version\n";
Expand Down Expand Up @@ -197,7 +198,6 @@
print TRIMMINGS ">IlluminaUniversalAdapter_rc\n";
print TRIMMINGS "$univ_adapter_rc\n";

my @indices = @{ $index };
foreach my $ind (@indices) {
my $nextera_pcr_primer_i7 = "CAAGCAGAAGACGGCATACGAGAT".$ind."GTCTCGTGGGCTCGGAGATGTGTATAAGAGACAG";
my $nextera_pcr_primer_i7_rc = reverse $nextera_pcr_primer_i7;
Expand Down

0 comments on commit 6aadc51

Please sign in to comment.