standardizing the name of the scripts and fixing some bugs with the remapping.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5245 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
87e19a17ae
commit
e45b699ac0
|
|
@ -53,6 +53,7 @@ local function processSamHeaderLine(l, amplicons)
|
||||||
if not header.sq then header.sq = {} end
|
if not header.sq then header.sq = {} end
|
||||||
local ampName = l:match("@SQ%s+SN:ps%d+_([%w%p_]+).*")
|
local ampName = l:match("@SQ%s+SN:ps%d+_([%w%p_]+).*")
|
||||||
local chr = amplicons[ampName].chr
|
local chr = amplicons[ampName].chr
|
||||||
|
print("DEBUG: ", ampName, chr)
|
||||||
header.sq[chr] = chrlength[chr]
|
header.sq[chr] = chrlength[chr]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue