Cython: added full handling of NA strings when importing files
This commit is contained in:
@ -425,7 +425,8 @@ def open_uri(uri,
|
||||
if input:
|
||||
iseq = fastaNucIterator(file,
|
||||
skip=skip,
|
||||
only=only)
|
||||
only=only,
|
||||
nastring=nastring)
|
||||
else:
|
||||
iseq = FastaNucWriter(FastaFormat(printNAKeys=printna, NAString=nastring),
|
||||
file,
|
||||
@ -437,7 +438,8 @@ def open_uri(uri,
|
||||
skip=skip,
|
||||
only=only,
|
||||
offset=offset,
|
||||
noquality=noquality)
|
||||
noquality=noquality,
|
||||
nastring=nastring)
|
||||
else:
|
||||
iseq = FastqWriter(FastqFormat(printNAKeys=printna, NAString=nastring),
|
||||
file,
|
||||
@ -464,6 +466,7 @@ def open_uri(uri,
|
||||
stripwhite = stripwhite,
|
||||
blanklineskip = blanklineskip,
|
||||
commentchar = commentchar,
|
||||
nastring=nastring,
|
||||
skip = skip,
|
||||
only = only)
|
||||
else:
|
||||
@ -477,6 +480,7 @@ def open_uri(uri,
|
||||
stripwhite = stripwhite,
|
||||
blanklineskip = blanklineskip,
|
||||
commentchar = commentchar,
|
||||
nastring=nastring,
|
||||
skip = skip,
|
||||
only = only)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user