@transform( buildBAM, suffix(".bam"), ".alignstats" )
def buildPicardAlignStats( infile, outfile ):
    to_cluster = True
    track = P.snip( os.path.basename(infile), ".bam" )
    statement = '''CollectAlignmentSummaryMetrics INPUT=%(infile)s REFERENCE_SEQUENCE=%%(samtools_genome)s ASSUME_SORTED=true OUTPUT=%(outfile)s VALIDATION_STRINGENCY=SILENT ''' % locals()
    P.run()

############################################################
#23441 -- InclusionNode shouldn't modify its nodelist at render time.
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj012_chipseq.py/buildPicardAlignStats--crossover with--dataset/ETHPy150Open django/django/tests/template_tests/test_custom.py/InclusionTagTests.test_no_render_side_effect