예제 #1
0
def alignToSam(inputs, output, logger):
    if isPairedEnd:
        align1, [align2, seq1, seq2] = inputs
        runStage('alignToSamPE', logger, options, reference, align2, align2, seq1, seq2, output)
    else:
        align, [seq] = inputs
        runStage('alignToSamSE', logger, options, reference, align, seq, output)
예제 #2
0
def alignToSam(inputs, output, logger):
    if isPairedEnd:
        align1, [align2, seq1, seq2] = inputs
        runStage('alignToSamPE', logger, options, reference, align2, align2,
                 seq1, seq2, output)
    else:
        align, [seq] = inputs
        runStage('alignToSamSE', logger, options, reference, align, seq,
                 output)
예제 #3
0
파일: pipeline.py 프로젝트: bjpop/banzai
def alignSequence(sequence, output, logger):
    runStage('alignSequence', logger, options, reference, sequence, output)
예제 #4
0
파일: pipeline.py 프로젝트: bjpop/banzai
def varFilter(fullPileup, output, varPileup, chromName, chromLength, logger):
    runStage('varFilter', logger, options, fullPileup, varPileup, chromName, chromLength, output)
예제 #5
0
def illToSanger(sequence, output, logger):
    if sequence.endswith('.txt'):
        runStage('illToSanger', logger, options, sequence, output)
예제 #6
0
def mkRefDataBase(reference, output, logger):
    runStage('mkRefDataBase', logger, options, reference, output)
예제 #7
0
def pileup(baiFile, output, logger):
    (prefix, name, ext) = splitPath(baiFile)
    bamAlignFile = os.path.join(prefix, name)
    runStage('pileup', logger, options, reference, bamAlignFile, output)
예제 #8
0
파일: pipeline.py 프로젝트: d-j-e/banzai
def varFilter(fullPileup, output, varPileup, chromName, chromLength, logger):
    runStage('varFilter', logger, options, fullPileup, varPileup, chromName,
             chromLength, output)
예제 #9
0
def pileup(baiFile, output, logger):
    (prefix, name, ext) = splitPath(baiFile)
    bamAlignFile = os.path.join(prefix, name)
    runStage('pileup', logger, options, reference, bamAlignFile, output)
예제 #10
0
def realign(inputs, output, logger):
   print inputs
   intervals, mergedBamsFile = inputs
   runStage('realign', logger, options, reference, mergedBamsFile, intervals, output)
예제 #11
0
def realignIntervals(mergedBamsFile, output, logger):
   runStage('realignIntervals', logger, options, reference, mergedBamsFile, output)
예제 #12
0
def indexMergedBams(mergedBamsFile, output, logger):
    runStage('indexMergedBams', logger, options, mergedBamsFile, output)
예제 #13
0
파일: pipeline.py 프로젝트: d-j-e/banzai
def pileupFull(bamFile, output, logger):
    runStage('pileupFull', logger, options, reference, bamFile, output)
예제 #14
0
파일: pipeline.py 프로젝트: d-j-e/banzai
def samToBam(samFile, output, logger):
    runStage('samToBam', logger, options, reference, samFile, output)
예제 #15
0
파일: pipeline.py 프로젝트: d-j-e/banzai
def alignToSam(inputs, output, logger):
    align1, [align2, seq1, seq2] = inputs
    runStage('alignToSam', logger, options, reference, align2, align2, seq1,
             seq2, output)
예제 #16
0
파일: pipeline.py 프로젝트: bjpop/banzai
def samToBam(samFile, output, logger):
    runStage('samToBam', logger, options, reference, samFile, output)
예제 #17
0
파일: pipeline.py 프로젝트: bjpop/banzai
def pileupFull(bamFile, output, logger):
    runStage('pileupFull', logger, options, reference, bamFile, output)
예제 #18
0
def variation(pileupFile, output, logger):
    runStage('variation', logger, options, pileupFile, output)
예제 #19
0
def realign(inputs, output, logger):
    print inputs
    intervals, mergedBamsFile = inputs
    runStage('realign', logger, options, reference, mergedBamsFile, intervals,
             output)
예제 #20
0
def indexReference(reference, output, logger):
    runStage('indexReference', logger, options, reference, output)
예제 #21
0
def variation(pileupFile, output, logger):
    runStage('variation', logger, options, pileupFile, output)
예제 #22
0
def illToSanger(sequence, output, logger):
    if sequence.endswith('.txt'):
        runStage('illToSanger', logger, options, sequence, output)
예제 #23
0
def indexReference(reference, output, logger):
    runStage('indexReference', logger, options, reference, output)
예제 #24
0
def samToBam(samFile, output, logger):
    indexedReference = reference + '.fai'
    runStage('samToBam', logger, options, indexedReference, samFile, output)
예제 #25
0
def alignSequence(sequence, output, logger):
    runStage('alignSequence', logger, options, reference, sequence, output)
예제 #26
0
def mergeBams(sortedBams, output, logger):
    if len(sortedBams) == 1:
        shutil.copyfile(sortedBams[0], output)
    else: 
        bams = ' '.join(sortedBams)
        runStage('mergeBams', logger, options, bams, output)
예제 #27
0
def samToBam(samFile, output, logger):
    indexedReference = reference + '.fai'
    runStage('samToBam', logger, options, indexedReference, samFile, output)
예제 #28
0
def sortBam(bamFile, output, logger):
    (prefix, name, ext) = splitPath(output)
    outFile = os.path.join(prefix, name)
    runStage('sortBam', logger, options, bamFile, outFile)
예제 #29
0
파일: pipeline.py 프로젝트: bjpop/banzai
def mkRefDataBase(reference, output, logger):
    runStage('mkRefDataBase', logger, options, reference, output)
예제 #30
0
def mergeBams(sortedBams, output, logger):
    if len(sortedBams) == 1:
        shutil.copyfile(sortedBams[0], output)
    else:
        bams = ' '.join(sortedBams)
        runStage('mergeBams', logger, options, bams, output)
예제 #31
0
파일: pipeline.py 프로젝트: bjpop/banzai
def alignToSam(inputs, output, logger):
   align1, [align2, seq1, seq2] = inputs
   runStage('alignToSam', logger, options, reference, align2, align2, seq1, seq2, output)
예제 #32
0
def indexMergedBams(mergedBamsFile, output, logger):
    runStage('indexMergedBams', logger, options, mergedBamsFile, output)
예제 #33
0
파일: pipeline.py 프로젝트: bjpop/banzai
def sortBam(bamFile, output, logger):
    (prefix, name, ext) = splitPath(output)
    outFile = os.path.join(prefix,name)
    runStage('sortBam', logger, options, bamFile, outFile)
예제 #34
0
def realignIntervals(mergedBamsFile, output, logger):
    runStage('realignIntervals', logger, options, reference, mergedBamsFile,
             output)
예제 #35
0
파일: pipeline.py 프로젝트: bjpop/banzai
def callSNPs(bamFile, output, logger):
    runStage('callSNPs', logger, options, reference, bamFile, output)
예제 #36
0
파일: pipeline.py 프로젝트: d-j-e/banzai
def callSNPs(bamFile, output, logger):
    runStage('callSNPs', logger, options, reference, bamFile, output)