diff experimental_design/experimental_design.r @ 40:106275b54470 draft

Uploaded
author davidvanzessen
date Tue, 30 May 2017 07:26:33 -0400
parents afe85eb6572e
children 124b7fd92a3e
line wrap: on
line diff
--- a/experimental_design/experimental_design.r	Mon Apr 24 09:39:59 2017 -0400
+++ b/experimental_design/experimental_design.r	Tue May 30 07:26:33 2017 -0400
@@ -15,6 +15,11 @@
 		print(paste("Adding file", counter, "to", current.id))
 		dat = read.table(current, sep="\t", header=T, quote="", fill=T)
 		
+		if(nrow(dat) == 0){
+			print(paste(counter, "of", current.id, "has no sequences, skipping"))
+			next
+		}
+		
 		#IMGT check
 		
 		dat$Sample = current.id