mllg / batchtools

Tools for computation on batch systems
https://mllg.github.io/batchtools/
GNU Lesser General Public License v3.0
171 stars 51 forks source link

Making tags more useful #120

Open bart1 opened 7 years ago

bart1 commented 7 years ago

I wonder if the usage of tags would get more useful if it becomes easier to use them. I would imagine the convertIds function to be able to parse character inputs and match those to Ids (would need to think about wild card matching and what to do with multiple inputs). This would make it easier for functions like submitJobs to submit only certain tags.

similar I could imagine the addExperiments and submitJobs function to have a tag argument so set the tags directly instead of constructs like these

initialJobs<-submitJobs(reg = reg)
addJobTags(reg=reg, initialJobs, "initialJobs")