File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,12 @@ def read_xml_metadata(path, include_invalid_runs=False) -> List[SraRunMetadata]:
134134 if loader == 'fastq-load.py' :
135135 # parse options...
136136 # TODO: use argparse or something safer
137+ fastq_load_read_types = None
137138 fastq_load_files = []
138139 if options :
140+ if '--readTypes' in options and options ['--readTypes' ] is not None :
141+ fastq_load_read_types = list (str (options ['--readTypes' ]))
142+ logger .warning (fastq_load_read_types )
139143 opts = ['--read1PairFiles' ,
140144 '--read2PairFiles' ,
141145 '--read3PairFiles' ,
@@ -149,6 +153,7 @@ def read_xml_metadata(path, include_invalid_runs=False) -> List[SraRunMetadata]:
149153 issues |= SraRunIssue .NO_FASTQ_LOAD_OPTIONS
150154 else :
151155 issues |= SraRunIssue .NO_FASTQ_LOAD
156+ fastq_load_read_types = None
152157 fastq_load_files = None
153158
154159 statistics = run .find ('Statistics' )
You can’t perform that action at this time.
0 commit comments