![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DESeq2 error in data.frame (multiple treatments and multiple replicates) | KYR | Bioinformatics | 3 | 03-19-2019 10:05 AM |
For loop in bash terminal to concatenate fastq files | rcook34 | Bioinformatics | 6 | 02-04-2016 08:41 PM |
A great tool to count multiple aligned reads. | a.kmg | Bioinformatics | 3 | 02-22-2015 06:05 AM |
htseq-count: how to use multiple features? | nasobema | Bioinformatics | 3 | 09-15-2014 03:37 AM |
how to use bash script to make iterative loop through directory with two file types | jddavis | Bioinformatics | 2 | 05-23-2013 08:02 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: USA Join Date: Nov 2012
Posts: 51
|
![]()
I have generated multiple read mapping files (.sam) generated with bowtie2 "--no-unal" parameter. As the number of files are huge (7 reference genomes mapped against >6000 reads) i want a loop to count the % (or total number) mapped reads for each file.
HTSeq could be an option but don't know how to loop it for multiple files. Any help would be much appreciated. |
![]() |
![]() |
![]() |
#2 |
Senior Member
Location: East Coast USA Join Date: Feb 2008
Posts: 7,087
|
![]()
You should consider using featureCounts. You may not need a loop. You can feed all SAM files to featureCounts and generate a read count matrix directly.
Code:
featureCounts <options> file1.sam file2.sam file3.sam etc. |
![]() |
![]() |
![]() |
Tags |
bash, bioinformactics, bowtie alignment stats, htseq, htseq count |
Thread Tools | |
|
|