[Samtools] Text viewing syntax, browsing Snp/indel sites

Source: Internet
Author: User

Santools can be used as a text viewing tool to view the results of a comparison file, below to do a brief introduction:

1. Obtain a SAM Bwa file by using the ratio pair, or you can convert the Fastq file to a Bam/sam file;

2. Convert Sam files to BAM files, Samtools view-bs seq.sam > Seq.bam

3. Sort the BAM files, samtools sort Seq.bam-o Seq.sorted.bam

4. Index,samtools index Seq.sorted.bam for BAM files

5. View the comparison result file, Samtools Tview seq.sorted.bam Ref.fasta

Note:

All help instructions can be found on the official website:

Http://www.htslib.org/doc/samtools.html

Https://github.com/samtools/hts-specs

[Samtools] Text viewing syntax, browsing Snp/indel sites

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.