Kurt-Hetrick / CIDR_WES

CIDR's production pipeline for WES and other targeted DNA sequencing projects.
0 stars 0 forks source link

generate array for present chromsomes once for each unique bed files #9

Closed Kurt-Hetrick closed 5 years ago

Kurt-Hetrick commented 6 years ago

see if this is possible/sensible instead of creating an array for each sample for scatter/gathers, if there is one unique per project that is pretty simple to do, but need to see what would happen when there are multiples per projects (like mendel).

Kurt-Hetrick commented 5 years ago

more of a problem now that I have to iterate through each sample as opposed to each project (which didn't work when there were multiple projects in the sample sheet) and takes much longer to submit a project. I can think of two options.

  1. do it once for each for each unique project. store it as a variable and then pass it to each for loop...less clear as to how I can get that to work.

  2. group all of the gathers...not as desirable since I would have to do it at least twice for each sample, but I think that would be easier to get working and I think it would cut down on at least 6 fold iterations..

Kurt-Hetrick commented 5 years ago

since i fixed some code, this doesn't seem to be that important.