nanoporetech / dorado

Oxford Nanopore's Basecaller
https://nanoporetech.com/
Other
446 stars 54 forks source link

fastq encoding #731

Closed Andreas-Bio closed 3 months ago

Andreas-Bio commented 3 months ago

Issue Report

Please describe the issue:

Is there a specific reason the fastq encoding changed? Notepad++ tells me it is now UTF-16. I am running into a lot of compatibility issues, especially with some R packages which can not take the encoding="" argument to the read function. Not sure when it changed, never had a problem in the past.

Steps to reproduce the issue:

Please list any steps to reproduce the issue.

Run environment:

vellamike commented 3 months ago

Hi @Andreas-Bio,

Are you running your command in PowerShell? Also, are you certain that when you've run this in the past and seen it work it has been in exactly the same environment? This might be caused because Windows PowerShell uses the Unicode UTF-16LE encoding by default.

Andreas-Bio commented 3 months ago

Yeah you are right. It was because of the Power Shell. It should come with a warning because the fastq is incompetible with almost all R packages.