Skip to content

Instantly share code, notes, and snippets.

@wckdouglas
Created August 7, 2016 01:12
Show Gist options
  • Save wckdouglas/b2caa5c24e4586d546a2b66fe4332151 to your computer and use it in GitHub Desktop.
Save wckdouglas/b2caa5c24e4586d546a2b66fe4332151 to your computer and use it in GitHub Desktop.
bamtools filter script for paried end sequences
{
"filters":[
{ "id":"firstPairForward",
"alignmentFlag" : "99" },
{"id":"firstPairReverse",
"alignmentFlag" : "83"},
{"id":"secondPairForward",
"alignmentFlag" : "163"},
{"id":"secondPairReverse",
"alignmentFlag" : "147"}
],
"rule": "firstPairForward | firstPairReverse | secondPairReverse | secondPairForward"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment