Text Structure

Hello
I have data that look likes :
image
Now if i read it throgh Knime ReadFile Node i get

miRNA 3’ gaUGGACGUGAUAUUCGUGAAAu 5’
||||||||| |:||||| |
Target 5’ tcACCTGCACTTAAGGCACTCTg 3’"
where the second line is the bars doesnot match.
What could be the resaon for that ? and how to fix it ?

Best
Malik

Hi Malik,

What is the format (ending) of the file you are reading in? Can you attach a sample file (or workflow)?
Do you only want to look at the matching of the miRNA and the target or process it further?

Best,
Jeany

Hi Jeany
Attached a sample of the inputhsa_mirna.txt (1.0 KB)
extract_structure.knwf (11.8 KB)
file and sample workflow.
If you read the file and look to the line the contains the bars structure you see that they are not well spread out as the input file. Im loosing the structure.
Best
Malik

You could try the not to select “ignore spaces and tabs” in the File Reader. It is selected by default.
Hope that helps,
Jeany

Thanks