Question

In: Computer Science

Design an algorithmic flowchart for the given FASTA dataset, assuming all the files are of correct...

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.

Solutions

Expert Solution

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


Related Solutions

Prepare a correct trial balance ,assuming all account balances are normal
An inexperienced bookkeeper prepared the following trial balance.Prepare a correct trial balance,assuming all account balances are normal Cappshaw Company Trial Balance December 31,2017 Particulars Debit$ Credit$ Cash 10,800   Prepaid Insurance   3,500 Accounts Payable   3,000 Unearned Service Revenue 2,200   Owner's Capital   9,000 Owner's Drawings   4,500 Service Revenue   25,600 Salaries & Wages Expense 18,600   Rent Expense   2,400 Total 31,600 31,600
Given the below Java code snippet, assuming the code is correct, and the names are meaningful,...
Given the below Java code snippet, assuming the code is correct, and the names are meaningful, select the best answer for the below questions: public static void main(String[] args) { int numStations = 10; int enter = 0; int exit = 0; Train train = new Train(numStations); for (int station = 0; station < numStations; station++) {      enter = enter + train.enterPassengers(station);      exit = exit + train.exitPassengers(station); } System.out.println("Number of passengers entered the train: " + enter); System.out.println("Number...
Design a shell program to remove all the shell programming files ending with sh on your...
Design a shell program to remove all the shell programming files ending with sh on your home directory when a SIGINT signal is received.
DESIGN A FLOWCHART IN FLOWGORITHM Rainfall Statistics Design a program that lets the user enter the...
DESIGN A FLOWCHART IN FLOWGORITHM Rainfall Statistics Design a program that lets the user enter the total rainfall for each of 12 months into an array. The program should calculate and display the total rainfall for the year, the average monthly rainfall , and the months with the highest and lowest amounts. PLEASE AND THANK YOU
DESIGN A FLOWCHART IN FLOWGORITHM AND WRITE THE PSEUDOCODE Number Analysis Program Design a program that...
DESIGN A FLOWCHART IN FLOWGORITHM AND WRITE THE PSEUDOCODE Number Analysis Program Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data: The lowest number in the array. The highest number in the array. The total of the numbers in the array. The average of the numbers in the array. PLEASE AND THANK YOU
DESIGN A FLOWCHART IN THE APPLICATION FLOWGORITHM Number Analysis Program Design a program that asks the...
DESIGN A FLOWCHART IN THE APPLICATION FLOWGORITHM Number Analysis Program Design a program that asks the user to enter a maximum of 20 numbers. The program should store the numbers in an array and then display the following data: -The lowest number in the array. -The highest number in the array. -The total of the numbers in the array. -The average of the numbers in the array. PLEASE AND THANK YOU
DESIGN A FLOWCHART IN THE APPLICATION FLOWGORITHM Exercise called: Number Analysis Program Design a program that...
DESIGN A FLOWCHART IN THE APPLICATION FLOWGORITHM Exercise called: Number Analysis Program Design a program that asks the user to enter a maximum of 20 numbers. The program should store the numbers in an array and then display the following data: 1-The lowest number in the array. 2-The highest number in the array. 3-The total of the numbers in the array. 4-The average of the numbers in the array. PLEASE AND THANK YOU
Consider that you want to rename all files of a given type (e.g. file extension) to...
Consider that you want to rename all files of a given type (e.g. file extension) to a different filetype. For example, you want to change the file extension of all txt files to text. Write a shell script rename.sh (3%) that: takes two options as arguments. The first argument is the filetype you want to change. The second argument is the filetype you want to change files into. check that the two arguments are actually given. If not, the script...
This is A PYTHON Question. Developing a machine learning system for a given dataset. Dataset Diabetes...
This is A PYTHON Question. Developing a machine learning system for a given dataset. Dataset Diabetes dataset - https://www.kaggle.com/uciml/pima-indians-diabetes-database Algorithms Either one of the following: 1. K-Nearest Neighbors 2. Support Vector Machines 3. Neural Networks Notes: Explain your choice of algorithms and analyze the models developed. Show what patterns/insights can be extracted from your chosen dataset and the selected algorithms.
PLEASE USE THE FLOWORITHM APPLICATION FOR THE ANSWER . I need that not a flowchart .Design...
PLEASE USE THE FLOWORITHM APPLICATION FOR THE ANSWER . I need that not a flowchart .Design the logic for a program that takes in three numbers from the user. Find the largest of the three numbers and output the largest number.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT