Artificial Intelligence Programming Lab(AIPLab) 討論區

Please login or register.

請輸入帳號, 密碼以及預計登入時間

新聞:

[開學]106學年第1學期的課程看版開張了 歡迎同學問問題-20170917

作者 主題: [Tool] htseq-count  (閱讀 1309 次)

admin

  • 管理員
  • Hero Member
  • *****
  • 文章: 1776
    • 檢視個人資料
[Tool] htseq-count
« 於: 十月 06, 2016, 12:08:48 pm »
https://benchtobioinformatics.wordpress.com/category/htseq-count/
http://www-huber.embl.de/users/anders/HTSeq/doc/install.html
samtools view -b -S D042Aligned.out.sam > D042Aligned.bam
samtools sort D042Aligned.bam D042Aligned-sorted
samtools index D042Aligned-sorted.bam

samtools view -b -S D040Aligned.out.sam > D040Aligned.bam
samtools sort D040Aligned.bam D040Aligned-sorted
samtools index D040Aligned-sorted.bam

samtools view -b -S D041Aligned.out.sam > D041Aligned.bam
samtools sort D041Aligned.bam D041Aligned-sorted
samtools index D041Aligned-sorted.bam

samtools view -b -S D017Aligned.out.sam > D017Aligned.bam
samtools sort D017Aligned.bam D017Aligned-sorted
samtools index D017Aligned-sorted.bam

samtools view -b -S D002Aligned.out.sam > D002Aligned.bam
samtools sort D002Aligned.bam D002Aligned-sorted
samtools index D002Aligned-sorted.bam

samtools view -b -S D007Aligned.out.sam > D007Aligned.bam
samtools sort D007Aligned.bam D007Aligned-sorted
samtools index D007Aligned-sorted.bam

samtools view -bf 1 D002Aligned-sorted.bam > D002.bam
samtools view -bf 1 D007Aligned-sorted.bam > D007.bam
samtools view -bf 1 D017Aligned-sorted.bam > D017.bam
samtools view -bf 1 D040Aligned-sorted.bam > D040.bam
samtools view -bf 1 D041Aligned-sorted.bam > D041.bam
samtools view -bf 1 D042Aligned-sorted.bam > D042.bam

htseq-count -m union -r pos -i gene_name -a 10 --stranded=no D002.bam ~/Homo_sapiens.GRCh38.84.gtf > D002.counts
« 最後編輯時間: 十月 07, 2016, 01:20:34 am 由 admin »
已記錄

ngstool

  • 管理員
  • Newbie
  • *****
  • 文章: 16
    • 檢視個人資料
回覆: [Tool] htseq-count
« 回覆文章 #1 於: 一月 04, 2017, 11:17:06 am »
sudo apt-get install python python-setuptools python-pip python-matplotlib cython zlib1g-dev 
sudo pip install biopython
sudo pip install pysam

https://pypi.python.org/pypi/HTSeq

« 最後編輯時間: 二月 05, 2017, 01:27:19 am 由 ngstool »
已記錄

ngstool

  • 管理員
  • Newbie
  • *****
  • 文章: 16
    • 檢視個人資料
回覆: [Tool] htseq-count
« 回覆文章 #2 於: 二月 06, 2017, 10:54:36 am »
htseq-count -m union -r pos -i gene_name -a 10 --stranded=no E826Aligned.out.sam ~/Homo_sapiens.GRCh38.84.gtf > E826.counts
已記錄
 

SimplePortal Classic 2.0.5