added comments on how to use this very useful script!

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@6066 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
droazen 2011-06-22 22:55:50 +00:00
parent ab1de3bfda
commit 0d07c979e9
1 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,9 @@
--[[
-- Updates a list of BAM files to the latest version in the picard aggregation path
-- Usage:
--
-- lua updateSampleList.lua samples.list > updated_samples.list
]]
function latestVersion(sample)
local version = tonumber(sample:match("/v(%d+)/"))
f = io.open(sample)