Hi,
I have read the fasta file using "read.fasta" from "seqinr" pacakge. The file like like as follows:
I would like split the file into the names of the sequence in one column and the corresponding the sequence in another column. I tried like creating data.frame and adding names of fasta_sequences in column and the corresponding sequences in another column, but it failed in R
Can anyone please guide me.
Thanks in advance
I have read the fasta file using "read.fasta" from "seqinr" pacakge. The file like like as follows:
Code:
>dg_TM_254_2_1 MASDHAGUWHJAHSHHGAZAGHSGBAHSHGASHJAJAWWQWDSDASJDHKHASK ASDASDGASJGZDSGDDHASDHASGD >dg_TM_656_2_1 MJIAKJIEQWIHAASDASJDHASHDKJASDWQOWIOQIWQLAJLSJWIOQUZZEWASD >dg_TM_543_1_2 MUZTREQWERNBVXCYMNMVHZTOPOPOEURDASDOPOQWEUZQUIZRZIRIEIWUEWASDHASHDAHSDHAKHHSDHASHDJASHDAHUWIEUROWUOERUOWEUROOWWWW >dg_TM_212_0_2 MQWUEGSPOZBYCVDVRFTEVWBVRVRVVSDSZTTASDZUZUZUZUADUS
Can anyone please guide me.
Thanks in advance
Comment