Dear all,

I have two files :

seq.txt: NNNNNNNNNNATTAAAGGGC

scores.txt :

0.8
0.7
0.3
0.5
0.6
0.5
0.01
0.9
0.3
0.8

I want output as following

A 0.8
T 0.7
T 0.3
A 0.5
A 0.6
A 0.5
G 0.01
G 0.9
G 0.3
C 0.8

Where N are deleted and only A/T/G/C are appearing in a column.

Thanks

Albert
0.8
0.7
0.3
0.5
0.6
0.5
0.01
0.9
0.3
0.8
NNNNNNNNNNATTAAAGGGC
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to