In: Computer Science
Design an algorithmic flowchart for the given FASTA dataset, assuming all the files are of correct format (no need to check for bad FASTA data). Given the two sequences, (A). ATCGC (B). AATTGCGCAA The outputs should be 5 and 10 respectively. Without using any code or any Python module, using a flowchart, draw and explain the above.
FASTA file/Dataset: It is a text based format representating nucleocide and amino acid sequence.
Here in below image, In step one we have just read the FASTA dataset.
In step 2: We are asking user to enter the sequences, they want to find the length(As per given problem) of.
The sequence user entering can be comma or space separated strings.
In step 3: If user enter comma separated value then using any programming language we can split it by comma and save it in string array(Array is the same size of the comma or space entered by user).
In step 4( not compulsory): Here we are just validating the user input with the existing dataset we have. This step is not complusory because it is not mention in the question.
In step 5: If we have found the sequence entered by user in the FASTA dataset, then we can simply return the length of the sequence entered by user