thank you, I will test it!
• 0 views
•
link
How can I convert two files one fasta and one which into a single fastq file via linux terminal, if anyone can help me I'll be grateful!
not tested, but it should be:
paste <(cat file1 | paste - - | sed 's/^/@/') \
<(cat file2 | paste - - | cut -f2 ) |\
awk -F '\t' '{printf("%s\n%s\n+\n%s\n",$1,$2,$3);}'
Pierre Lindenbaum Qual values will need to be encoded. They are numeric now.
does not recognize -F command
Log in to answer this question.
I don't understand.
Otherwise see fasta to fastq without quality scores
sorry you cut the sentence, it was a .fasta file and a .qual
show us the header of each files.
.fasta
.qual