We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d5874 commit b626a41Copy full SHA for b626a41
rnaseq_pipeline/sources/sra.py
@@ -155,7 +155,7 @@ def run(self):
155
156
# layout is very often not annotated correctly and it is best to rely
157
# on the number of mates per spot
158
- is_paired = (self.sample_id in sra_cfg.paired_read_experiments) or (run.spots_with_mates > 0) or (run.LibraryLayout == 'PAIRED')
+ is_paired = (self.sample_id in sra_cfg.paired_read_experiments) or (run.get('spots_with_mates', 0) > 0) or (run.LibraryLayout == 'PAIRED')
159
160
metadata = dict(self.metadata)
161
metadata['sample_id'] = self.sample_id
0 commit comments