How to generate a table with columns from two different types of data in R ?
0
0
Entering edit mode
24 months ago

I'm very early learning to code in R. Is there anyone who can help with a hint on how to do the following task? I don't know how to convert a .faa file into a table, how to select columns, merging tables into one table.

1- Download the following table from the following link https://www.ncbi.nlm.nih.gov/genome/browse/#!/proteins/51/1820449%7CHomo%20sapiens/

2- Select the locus and protein products

3-Download protein sequences in FASTA format (only protein please) https://www.ncbi.nlm.nih.gov/genome/?term=Homo+sapiens

Note: this is a text-like file (80 MB) and you need to convert it into a table, thus you can merge it with the other file.

4- Use these two files to generate a table containing locus, protein products, and protein sequences

Protein products will be shared in both files. You can merge them.

Programming R • 902 views
ADD COMMENT
0
Entering edit mode

I don't know how to convert a .faa file into a table, how to select columns, merging tables into one table.

Shouldn't this have been covered in class in your course, or where did you get the assignment from?

... thus you can merge it with the other file. ... Protein products will be shared in both files. You can merge them.

There is a merge function in R.

ADD REPLY
0
Entering edit mode

I have not taken an exact course for this. I just try to develop myself.

ADD REPLY

Login before adding your answer.

Traffic: 1595 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6