Notepad and word will not read Fastq or FASTA files
3
0
Entering edit mode
9.8 years ago

Hi,

I am having issues when trying to open a fastq or fasta file in notepad or word. When I open them it just shows an unreadable code e.g.

8ՙ?���;����S>��m����%��?7ޱ�?a�?�p�?�†n�qDx��?�@�~r?�?��?�01?��@��'��m�?�5"X�a��5������?��x�c?��!0������ޞ�
?i�ɲ�zWU�.�V�p��u�솦�s�f�a8?��d��r^M�mQ?�i6�?�yQL�,o��m:�W�<[M��;LK?���r�M8���d]Tk�l�E&!'D)?�I��D4�

and so on!

In turn, the blast software I am trying to run does not recognise the data. I have also tried to open these files on another desktop, in notepad and they display the data as it should be.

I am using a brand new Dell optiplex 7020, with windows 7 pro, Intel i5-4590, 64 bit.

Any help would be much appreciated

software-error fastq • 9.0k views
ADD COMMENT
7
Entering edit mode

You are correct, they won't.

ADD REPLY
3
Entering edit mode

In addition to what everyone else has stated already, you'll generally want to avoid Word Processors (especially for data) such as Word. In addition, the DOS operating system is not really bioinformatics friendly. You'll want to use a text editor for code and to occasionally look at small data files (generally you would selectively look at FASTA files at the command line). As far as text editors go, I would recommend both Notepad++ or Sublime Text for your windows system.

ADD REPLY
3
Entering edit mode

That's no error, you've discovered extraterrestrial DNA!

ADD REPLY
5
Entering edit mode
9.8 years ago
Michael 55k

Most likely your files are compressed. Anyway you shouldn't open your fasta files in Word.

ADD COMMENT
4
Entering edit mode
ADD REPLY
6
Entering edit mode

The mere existence of that tool makes me sad.

ADD REPLY
3
Entering edit mode
9.8 years ago
Adamc ▴ 680

If they're actually opening the files at all, I'm assuming they're not so large as to exceed the limits of those programs (as is often the case with notepad and NGS-derived output files). Start with making sure that file extensions are viewable, and make sure that you're not actually trying to open compressed files (usually will end in .gz). You'll need to extract them to view them. If they're up to a couple hundred megabytes, you can open them with Notepad++ in windows (as already mentioned). For larger files, try LTFViewer. It's read-only, but it'll handle opening/searching multi-gigabyte text files in Windows without issue.

And if you're going to be getting into a lot of this stuff, install Linux inside a VirtualBox VM- there are many things that are actually faster/easier/less buggy after learning to manipulate text files with integrated Unix/Linux tools.

ADD COMMENT

Login before adding your answer.

Traffic: 1901 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6