PaulBrack / Yamato

SWATH-QC metrics
Apache License 2.0
1 stars 1 forks source link

Allow reading of a mzML from stdin, for example using a filename of - #99

Closed Ozzard closed 4 years ago

Ozzard commented 4 years ago

When doing rapid QC from a Sciex instrument, we don't want to save an intermediate mzML; we just want to convert on the fly, and pipe the output from a WIFF to mzML converter into the input of Yamato without incurring any disk or RAM overhead. This is a classic use of a UNIX or Windows pipe.

In common with other UNIX utilities, if we specify - as the input filename, could the Yamato console take its mzML from standard input?

To acquire stdin, use https://docs.microsoft.com/en-us/dotnet/api/system.console.openstandardinput?view=netcore-2.2

Ozzard commented 4 years ago

Awaiting release of a commandline NuGet including https://github.com/commandlineparser/commandline/issues/601 as - is not processed according to getopts' rules at present.