Giter VIP home page Giter VIP logo

paired-sam-test's Introduction

Paired-end reads flags in SAM files

The dataset

The reads directory contains a single dataset of paired end reads: reads_R1.fq and reads_R2.fq contains the forward and reverse reads, respectively.

The dataset is composed by the following read pairs:

Both reads mapped against the reference in a proper pair:

  • proper.1: forward fragment on the + strand, reverse fragment on the - strand
  • revcompl.1: forward fragment on the - strand, reverse fragment on the + strand

One reads not aligned:

  • proper-1na.1: first reads is not mapped (second is on the - strand)
  • proper-2na.1: second read is not mapped (first is on the + strand)
  • revcompl-1na.1: first reads is not mapped (second is on the + strand)
  • revcompl-2na.1: second read is not mapped (first is on the - strand)

Both reads are not mapped:

  • unmap.1

Reads diagram

Schematic representation (coordinates not to scale, overlapping reads are spread apart to simplify the picture) of the read pairs

Reads diagram

The SAM output

Here we report the truncated SAM output

Read name Flag Ref name Position Qual CIGAR Mate ref Mate Pos. Size
proper.1 97 ctg1 51 60 50M = 151 150
proper.1 145 ctg1 151 60 50M = 51 -150
revcompl.1 81 ctg1 51 60 50M = 151 52
revcompl.1 161 ctg1 151 60 50M = 51 -52
proper-1na.1 117 ctg1 151 0 * = 151 0
proper-1na.1 185 ctg1 151 60 50M = 151 0
proper-2na.1 73 ctg1 51 60 50M = 51 0
proper-2na.1 133 ctg1 51 0 * = 51 0
revcompl-1na.1 69 ctg1 151 0 * = 151 0
revcompl-1na.1 137 ctg1 151 60 50M = 151 0
revcompl-2na.1 121 ctg1 51 60 50M = 51 0
revcompl-2na.1 181 ctg1 51 0 * = 51 0
unmap.1 77 * 0 0 * * 0 0
unmap.1 141 * 0 0 * * 0 0

paired-sam-test's People

Contributors

telatin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.