# Read FASTA file and convert to numerical values

**URL:** <https://forum.knime.com/t/read-fasta-file-and-convert-to-numerical-values/5871>\
**Category:** KNIME Analytics Platform\
**Created:** [March 8, 2017, 9:51pm UTC](https://forum.knime.com/t/read-fasta-file-and-convert-to-numerical-values/5871 "2017-03-08T21:51:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![malik](https://forum-cdn.knime.com/user_avatar/forum.knime.com/malik/32/606_2.png) [@malik](https://forum.knime.com/u/malik)\
**Post date:** [March 8, 2017, 9:51pm UTC](https://forum.knime.com/t/read-fasta-file-and-convert-to-numerical-values/5871/1 "2017-03-08T21:51:31Z")

</div>

Hello

I have FASTA file as input. I want to read it and generate a format in different way. I want to comvert each letter to an integer number. For example A to 1 , T to 2, and so on.

How i can perform that?

Malik

---

<div class="post-metadata">

**Author:** ![jonfuller](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@jonfuller](https://forum.knime.com/u/jonfuller)\
**Post date:** [March 15, 2017, 6:26pm UTC](https://forum.knime.com/t/read-fasta-file-and-convert-to-numerical-values/5871/2 "2017-03-15T18:26:25Z")

</div>

Hi Malik,

That should be possible using the String Manipulation node to do a replace.

Best,

Jon

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:22pm UTC](https://forum.knime.com/t/read-fasta-file-and-convert-to-numerical-values/5871/3 "2023-06-23T20:22:28Z")

</div>


