This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to generate a table with columns from two different types of data in R ?

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

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.

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

0 answers

No answers yet.

Log in to answer this question.