+1(805) 568 7317

java help develop a java program to read in a fasta format dna sequence file and par 5188370

Java help

develop a Java program to read in a FASTA format DNA sequence file, and parse out each sequence record into the part of ID and sequence. The ID is identified between the “>” and the “|” in the header line, and the sequence is the concatenation of all lines of the sequence part into a single string. Each DNA sequence record can then be stored into an array element of the DNA class. Use a loop in your program to prompt the user to enter a sequence ID, and if the ID exists print out the sequence. If the ID does not exist, print out a warning message. Exit the loop if the user enters “quit”. Please use any file containing sequences sequence file (i.e. a file named seq.fastfa)as the input file.

"Order a similar paper and get 15% discount on your first order with us
Use the following coupon

Order Now