Guest User

Untitled

a guest
Jul 16th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. rule hisat2_align:
  2. input:
  3. rU: lambda wildcards: ('-U '+ read_files[wildcards.reads]['unpaired']) if wildcards.read_type=='trimmed' else '',
  4. r1: lambda wildcards: '-1 '+ read_files[wildcards.reads]['R1'],
  5. r2: lambda wildcards: '-2 '+ read_files[wildcards.reads]['R2']
  6. output:
  7. 'aligned.sam'
  8. params:
  9. idx: 'index_prefix',
  10. extra: ''
  11. shell:
  12. 'hisat2 {params.extra} -x {params.idx} {input.rU} {input.r1} {input.r2}'
Add Comment
Please, Sign In to add comment