fastq-factory 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/fastq-factory.gemspec +2 -2
- data/lib/fastq-remove-orphans.pl +4 -4
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.12
|
data/fastq-factory.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "fastq-factory"
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.12"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Anthony Underwood"]
|
|
12
|
-
s.date = "2012-09-
|
|
12
|
+
s.date = "2012-09-18"
|
|
13
13
|
s.description = "This tool can process fastq files, using fastq_quality_trimmer and quake to correct fastq files and then provide a quality asssessment of the data"
|
|
14
14
|
s.email = "anthony.underwood@hpa.org.uk"
|
|
15
15
|
s.executables = ["fastq-factory"]
|
data/lib/fastq-remove-orphans.pl
CHANGED
|
@@ -106,8 +106,8 @@ my $paired;
|
|
|
106
106
|
print STDERR "\nPrinting paired reads...\n";
|
|
107
107
|
for $ident (keys %sequences_1) {
|
|
108
108
|
if (exists $sequences_2{$ident}) {
|
|
109
|
-
print PAIRED1 "\@${ident} 1\n$sequences_1{$ident}\n\+${ident}1\n$qualities_1{$ident}\n";
|
|
110
|
-
print PAIRED2 "\@${ident} 2\n$sequences_2{$ident}\n\+${ident}2\n$qualities_2{$ident}\n";
|
|
109
|
+
print PAIRED1 "\@${ident} 1\n$sequences_1{$ident}\n\+${ident} 1\n$qualities_1{$ident}\n";
|
|
110
|
+
print PAIRED2 "\@${ident} 2\n$sequences_2{$ident}\n\+${ident} 2\n$qualities_2{$ident}\n";
|
|
111
111
|
delete $sequences_1{$ident};
|
|
112
112
|
delete $sequences_2{$ident};
|
|
113
113
|
$paired++;
|
|
@@ -117,13 +117,13 @@ for $ident (keys %sequences_1) {
|
|
|
117
117
|
print STDERR "\nPrinting orphaned reads...\n";
|
|
118
118
|
my $orphaned_1;
|
|
119
119
|
for $ident (keys %sequences_1) {
|
|
120
|
-
print ORPHANED1 "\@${ident} 1\n$sequences_1{$ident}\n\+${ident}1\n$qualities_1{$ident}\n";
|
|
120
|
+
print ORPHANED1 "\@${ident} 1\n$sequences_1{$ident}\n\+${ident} 1\n$qualities_1{$ident}\n";
|
|
121
121
|
$orphaned_1++;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
my $orphaned_2;
|
|
125
125
|
for $ident (keys %sequences_2) {
|
|
126
|
-
print ORPHANED2 "\@${ident} 2\n$sequences_2{$ident}\n\+${ident}2\n$qualities_2{$ident}\n";
|
|
126
|
+
print ORPHANED2 "\@${ident} 2\n$sequences_2{$ident}\n\+${ident} 2\n$qualities_2{$ident}\n";
|
|
127
127
|
$orphaned_2++
|
|
128
128
|
}
|
|
129
129
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastq-factory
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.12
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-09-
|
|
12
|
+
date: 2012-09-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: trollop
|
|
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
165
165
|
version: '0'
|
|
166
166
|
segments:
|
|
167
167
|
- 0
|
|
168
|
-
hash:
|
|
168
|
+
hash: 2878535993008211494
|
|
169
169
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
none: false
|
|
171
171
|
requirements:
|