Fixes a bug in the MockAnalysisProject.create method (in the mock module) when making Fastqs without explicitly specifying a lane in the names (e.g. because merging across lanes is being simulated).
Without the fix the Fastq read headers have the lane set to None (creating an invalid read header and potentially breaking code which tries to extract information from it). The fix is to have the lane number default to 1 if not otherwise specified.
Fixes a bug in the
MockAnalysisProject.create
method (in themock
module) when making Fastqs without explicitly specifying a lane in the names (e.g. because merging across lanes is being simulated).Without the fix the Fastq read headers have the lane set to
None
(creating an invalid read header and potentially breaking code which tries to extract information from it). The fix is to have the lane number default to1
if not otherwise specified.