diff imgt_loader/imgt_loader.r @ 31:3a76faa53c59 draft

Uploaded
author davidvanzessen
date Tue, 14 Mar 2017 06:51:38 -0400
parents 798b62942b4b
children bad6a9a53ae7
line wrap: on
line diff
--- a/imgt_loader/imgt_loader.r	Thu Mar 09 10:48:14 2017 -0500
+++ b/imgt_loader/imgt_loader.r	Tue Mar 14 06:51:38 2017 -0400
@@ -31,10 +31,12 @@
 out[,"CDR2.Seq"] = aa[,"CDR2.IMGT"]
 out[,"CDR2.Length"] = summ[,"CDR2.IMGT.length"]
 
-out[,"CDR3.Seq"] = aa[,"CDR3.IMGT"]
+out[,"CDR3.Seq"] = gapped.aa[,"CDR3.IMGT"]
 out[,"CDR3.Length"] = summ[,"CDR3.IMGT.length"]
 
-out[,"CDR3.Seq.DNA"] = gapped.aa[,"CDR3.IMGT"]
+out[,"CDR3.IMGT"] = out[,"CDR3.Seq"]
+
+out[,"CDR3.Seq.DNA"] = sequences[,"CDR3.IMGT"]
 out[,"CDR3.Length.DNA"] = nchar(as.character(out[,"CDR3.Seq.DNA"]))
 out[,"Strand"] = summ[,"Orientation"]
 out[,"CDR3.Found.How"] = "a"