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:
parent
ab1de3bfda
commit
0d07c979e9
|
|
@ -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)
|
function latestVersion(sample)
|
||||||
local version = tonumber(sample:match("/v(%d+)/"))
|
local version = tonumber(sample:match("/v(%d+)/"))
|
||||||
f = io.open(sample)
|
f = io.open(sample)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue