Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

IN JAVA: centralLinkl Central Mic x/ Take Test: LAB 8-while L C p Secure https://black oardcmch.edu webapps assessment take launch sp?course assessment id= 224494 18

IN JAVA:

image text in transcribed

centralLinkl Central Mic x/ Take Test: LAB 8-while L C p Secure https://black oardcmch.edu webapps assessment take launch sp?course assessment id= 224494 18 course id= 14088/ 1&content id= 5591493 18 step-null Home| Central Michi Zy Central Michigan Ui Y Fantasy Reatll 21 C Home | Chogg.com Question Completion Status. Labs Arswers Activites QUESTION 1 6 points Save Answer Exams My Grades Tools Library Getietic testinng has opeied up e routes for preveitative treatmet. May geetic testirng applicatio ca produce fasta iles like the one attached those files can be analyzed to obtain many useful informations In the attached file, there are four type of nuclcotides: A, C, T, and G. Our job today is to analyze the relative frequency of the nucleotides for a particular pene, and the total number of nucleotides relative frequency is calculated as number of particular gene Total number of all genes The For example, to find out the percentage of A, we can simply count how many times the chaacter A appears in the file, and then divide it by the total number of characters A, C, T, and Sulale he followitng oulput File infotion534092 (BRLA) TRNA, BRCAL Relative trequency af genes: percentage of A: 34.58% Percentage of C: 18.77% Percentage of T: 24.35% percentage of G: 22.38% Total nunber of nuclootides is 5524 Some detail hints 1. For the first linc of the output, thc "> 53794092 (BRCA1) mRNA, BRCA1" part ahould bc cxactly the first linc of the file (i.e., rcad the firat linc 2. How cari I read chiaracters ore by oe fr i>The Scae class does not provide a way to directly read ciaracby oe from a 3 I low can I print out the percent sign?--Usc character % to cacapc character %, c.g.. System.out.printf %.21%% , 3.1415); will producc the and output as file information file. For the given file, we can use a while loop to read lines one by one, and then access to cach character in the line (i.e., stringl using a nested while loop output 3.14%. Name your program GeneScanner. Submit GeneScanner.java. Atach File Bro\se M Computer QUESTION 2 points Save Answer a prograrn to cekculate n O Type here to search 11:10 AM 1/2018

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications Dexa 2022 Workshops 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 In Computer And Information Science 33

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Alfred Taudes ,Atif Mashkoor ,Johannes Sametinger ,Jorge Martinez-Gil ,Florian Sobieczky ,Lukas Fischer ,Rudolf Ramler ,Maqbool Khan ,Gerald Czech

1st Edition

ISBN: 3031143426, 978-3031143427

More Books

Students also viewed these Databases questions