R software command to combine two files with different lines for making ped file,
1
0
Entering edit mode
8.0 years ago
mm ▴ 20

how R software command to combine two files with different lines for making ped file, but common words in two files. What's that combination is going to be done according to these words!

I want you two to be combined file based on ID Snp And ultimately in the ID Snp is not the final file. My files are as follows: file1:

R949B05 1 111006 930226 910008  F Resistant

R950E06 1 110917 950085 910043  F Resistant 

 R949C06 1 110892 950085 910125  F Resistant

file2:

R949C06 TC TT CC TC CC TT GG CC AG TT AA GG AA TT CC TC -- CC TC GC TC AA TC AG AG TC AA AA AA AG TC CC AT AA TT AA TT GG AA TC AG TC TA TA AG -- TG TT -- AA -- TT TT CC AG GG TC GG CC AA -- CC AC AA GG -- AA CC CC AA TC AG AA TC CG TT GG CC TT GG AG GG TT AA CC AA CC TC AG GG TC AG AG AG GC CC AG GG AA TC GG AA AA GG TC AG CC AG CC TC AA CC CC CC GG CC AG CC CC AG AC CC GG TT CC AG CC AA TC TT GG AG GG CC TC TC AA GG CC TC AG AG TT GG TG AG AA TG GG AG AA CC AA CC AG TC TC CC TC AG AA TC CC CG TT AA TC CC AC TC CG TT GG AA AA CG GG AG CC AA TC CC AG CG TT TT TC AG TC 

S950G10 AG AG AA AA CC CC GG AG TT GC AA AG GG AG CC GG GG AC AG CC GG AA TC CG TT GG TT CC AG AC GG TC GG GG AA TT GG AG AG CC TT TT AC GG CC GG AA CC TC AA CC AA CC TC CC TC GG AA CC GG GG CC CC AA CC GG CC AA TC CC AA TC AA AG GG CC GG CC AC GG TC AG CC TT CC AG GG GG AA CC TT GC AG TC AG GG GG TC GG AA CC GG TT GG AA AA AG TC TT AG CC TT CC AA AA AG AG TT TT CC CC AG GG TG CC AA AG GC GG AA CC CC AG AA AA AG GG TT CG TC TC  

R949B05 TT CC CC TC TC CC GG TA GG AG AA TT TC AC AG AA CC GG GG TT AC TT TT CC CC TT CC CC TG TC TC AC TT CG TC AG TC TC GG AG CC TT TT GG GG TT AA GG CC CC TC GG GG AG CC CC AC GG AG AC AG CC CC TT AG CC GG GG TG TT CC CC AG CC AA AA CC GG TT GG GG TC GG AA AA TC -- CC AA TT CC TC CC
R linux • 1.7k views
ADD COMMENT
2
Entering edit mode

And what have you tried?

ADD REPLY
0
Entering edit mode

making ped file.....

ADD REPLY
0
Entering edit mode

"What have you tried?" translates to "What is the exact procedure you used to try to get to where you are going, and why do you think you failed?". Your response will have to be a LOT more specific if you'd like help from the community.

ADD REPLY
1
Entering edit mode
8.0 years ago
Ram 44k

The process is called merging. Look for a merge function. You'll learn better when you try on your own, so I'm not going to give you the exact command.

ADD COMMENT

Login before adding your answer.

Traffic: 2030 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