def test_get_mjob_data(): example_HPCdaligner = open(example_HPCdaligner_fn) result = f.get_mjob_data( example_HPCdaligner) assert result eq_(result[1], ['LAmerge -v raw_reads.1 L1.1.1 L1.1.2 && rm L1.1.1.las L1.1.2.las']) eq_(result[2], ['LAmerge -v raw_reads.2 L1.2.1 L1.2.2 ; rm L1.2.1.las L1.2.2.las'])
def test_get_mjob_data(): example_HPCdaligner = open(example_HPCdaligner_fn) result = f.get_mjob_data( example_HPCdaligner) assert result eq_(result[1], [ 'LAmerge -v raw_reads.1 raw_reads.1.raw_reads.1 raw_reads.1.raw_reads.2', 'rm raw_reads.1.raw_reads.1.las raw_reads.1.raw_reads.2.las']) eq_(result[2], [ 'LAmerge -v raw_reads.2 raw_reads.2.raw_reads.1 raw_reads.2.raw_reads.2', 'rm raw_reads.2.raw_reads.1.las raw_reads.2.raw_reads.2.las'])
def test_get_mjob_data(): example_HPCdaligner = open(example_HPCdaligner_fn) result = f.get_mjob_data(example_HPCdaligner) assert result eq_(result[1], [ 'LAmerge -v raw_reads.1 raw_reads.1.raw_reads.1 raw_reads.1.raw_reads.2', 'rm raw_reads.1.raw_reads.1.las raw_reads.1.raw_reads.2.las' ]) eq_(result[2], [ 'LAmerge -v raw_reads.2 raw_reads.2.raw_reads.1 raw_reads.2.raw_reads.2', 'rm raw_reads.2.raw_reads.1.las raw_reads.2.raw_reads.2.las' ])