Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

write a java or R program that reads from text file. I have uploaded the text file. the text file has 424 rows (each row starts with ">gi"). each row has many column. Example: this is the first row

write a java or R program that reads from text file. I have uploaded the text file. the text file has 424 rows (each row starts with ">gi"). each row has many column.

Example:

this is the first row  

>gi|15559516|gb|AAH14123.1| Acyl-CoA synthetase family member 2 [Homo sapiens]

MAVYVGMLRLGRLCAGSSGVLGARAALSRSWQEARLQGVRFLSSREVDRMVSTPIGGLSYVQGCTKKHLNSKTVVQCLET

TAQRVPEREALVVLHEDVRLTFAQLKEEVDKAASGLLSIGLCKGDRLGMWGPNSYAWVLMQLATAQAGIILVSVNPAYQA

this is the second row

>gi|343962485|dbj|BAK62830.1| hypothetical protein [Pan troglodytes]

MAVYVGMLRLGRLCAGSSGVLGARAALSRSWQEARLQGVRFLSSREVDRMVSMPIGGLSYVQGCTKKHLNSKTVGQCLET

TAQRVPEREALVVLHEDVRLTFAQLKEEVDKAASGLLSIGLCKGDRLGMWGPNSYAWVLMQLATAQAGIILVSVNPAYQA

MELEYVLKKVGCKALVFPKQFKTQQYYNILKQICPDVENAQPGALKSQRLPDLTTVISVDAPLPGTLLLDEVVAAGSTRQ

the third row

>gi|194376742|dbj|BAG57517.1| unnamed protein product [Homo sapiens]

MAVYVGMLRLGRLCAGSSGVLGARAALSRSWQEARLQGVRFLSARGGMEAGRQRISVPSSFTASAAAHSREVDRMVSTPI

GGLSYVQGCTKKHLNSKTVGQCLETTAQRVPEREALVVLHEDVRLTFAQLKEEVDKAASGLLSIGLCKGDRLGMWGPNSY

AWVLMQLATAQAGIILVSVNPAYQAMELEYVLKKVGCKALVFPKQFKTQQYYNVLKQICPEVENAQPGALKSQRLPDLTT

VISVDAPLPGTLLLDEVVAAGSTRQHLDQLQYNQQFLSCHDPINIQFTSGTTGSPKGATLSHYNIVNNSNILGERLKLHE

I want to find what are the letters that appears in specific column. Let say I want to know the letter that appear in column 1 and how many time it appears. the answer is M and it appear 2 and p 1 time.

Show more
Files: file.txt
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question