Hey, I am trying to run velveth on my mac but keep getting this error message "F1.fasta does not seem to be in FastA format" which I have no idea why since F1.fasta is a fasta file. Here is my code. Anyone might have an idea what is going on?? both F1.fasta and F2.fasta are fasta files and the terminal directory has these two files.
Hey, do you think it has something to do with the type of text file. I have a MAC and my computer indicate the kind of file is "TextEdit Document". I suspect it can be a problem since this code works fine for me before. But between last time I used it and now, I think I downloaded some text file apps on my computer and it changes the kind of text file....
The first sequence is wrong. You have two ">" at the beginning, and you should have only one. In addition, after the >"name" and the comment (the word starting with HWI..) you must have a carriage return to show the fasta sequence in a second lane
In other words. You must get exactly waht you see in F2.fasta
Notice the empty spaces.
Then, after checking the file, erase the wrong one and rename F1_fixed.fasta as the original, or use that name in velvet directly
If you notice that the double ">" is not in the original file, take into account that print $2 means print the second word, $3, the third, etc, and then change the code in accordance. "\n" means a carriage return
So I think both of them is ok but I will wonder if the error is due to the "N" in the fasta file. I made some mistake in my previous post. F1.fasta is like this
Show a head of your files to provide further information
Actually, I think I pasted something wrong. Here is the sequence head again. F1.fasta
F2.fasta
Do the following
And the same with the other file, and give us the numbers. This counts the number of reads, and will see if both files have the same number