@@ -323,6 +323,7 @@ bowtie2 -x /path/to/bowtie2/index \
323
323
--maxins 1000 \
324
324
-1 /path/to/trimmed_forward_reads \
325
325
-2 /path/to/trimmed_reverse_reads \
326
+ -a \
326
327
--un-conc-gz < sample_id> .Unmapped.fastq.gz \ # For paired-end data
327
328
# --un-gz <sample_id>.Unmapped.fastq.gz \ # For single-end data
328
329
-S /path/to/bowtie2/output/directory/< sample_id> .sam \
@@ -337,6 +338,7 @@ bowtie2 -x /path/to/bowtie2/index \
337
338
- ` --maxins ` – maximum fragment length for valid paired-end alignments
338
339
- ` -1 ` – path to input forward reads (R1)
339
340
- ` -2 ` – path to input reverse reads (R2) (omit -1/-2 and use ` -U ` for single-end reads)
341
+ - ` -a ` - instructs Bowtie2 to report all alignments found
340
342
- ` --un-conc-gz ` – write paired-end unmapped reads to gzipped FASTQ file (use for paired-end data)
341
343
- ` --un-gz ` – write single-end unmapped reads to gzipped FASTQ file (use for single-end data)
342
344
- ` -S ` – write alignments to SAM format file
@@ -759,6 +761,8 @@ featureCounts -p \
759
761
-D 1000 \
760
762
-P \
761
763
-B \
764
+ -M \
765
+ --fraction \
762
766
-T NumberOfThreads \
763
767
-a /path/to/annotation/gtf/file \
764
768
-t ${GTF_FEATURES} \
@@ -775,6 +779,8 @@ featureCounts -p \
775
779
- ` -D ` – maximum fragment length (omit for single-end data)
776
780
- ` -P ` – specifies that fragment length should be checked against minimum and maximum thresholds when counting fragments (omit for single-end data)
777
781
- ` -B ` – specifies that only fragments with both ends successfully aligned should be considered for counting (omit for single-end data)
782
+ - ` -M ` - specifies to count all mapped reads (or fragments for PE data), including multi-mapped reads (or fragments)
783
+ - ` --fraction ` - specifies to assign fractional counts to multi-mapped reads (or fragments)
778
784
- ` -T ` – number of threads to use
779
785
- ` -a ` – path to genome annotation GTF file
780
786
- ` -t ` – specifies the feature types to be counted, e.g. gene, exon, intron, etc.
0 commit comments