Hello guys
I have 100-bp PE reads for chip-seq, and the reads were aligned using bwa. The alignment results - the sam file - was further processed with samtools. I used the following commands to filter out properly paired reads with unique mappability, but not sure if I am doing it in a correct way. Could you give me some suggestion for that? Thank you!
The file immediately after bwa alignment is after_align.sam. Then I used:
1.samtools view -bSh after_align.sam >after_align.bam
2.samtools view -q 1 after_align.bam -o uniq.bam
3.samtools rmdup uniq.bam uniq.rmdup.bam
4.samtools view -f 0x0001 -f 0x0002 uniq.rmdup.bam -o paired.bam # this is to get properly paired reads
5.samtools sort -n paired.bam paired_sort_name
6.samtools fixmate paired_sort_name.bam fixmate.bam#fixmate.. do I need to do this?
Did I miss anything ? Is there anything to add?
Thank you!
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
Latest Articles
Collapse
-
by seqadmin
The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...-
Channel: Articles
11-06-2024, 07:24 PM -
-
by seqadmin
Next-generation sequencing (NGS) and quantitative polymerase chain reaction (qPCR) are essential techniques for investigating the genome, transcriptome, and epigenome. In many cases, choosing the appropriate technique is straightforward, but in others, it can be more challenging to determine the most effective option. A simple distinction is that smaller, more focused projects are typically better suited for qPCR, while larger, more complex datasets benefit from NGS. However,...-
Channel: Articles
10-18-2024, 07:11 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, 11-08-2024, 11:09 AM
|
0 responses
166 views
0 likes
|
Last Post
by seqadmin
11-08-2024, 11:09 AM
|
||
Started by seqadmin, 11-08-2024, 06:13 AM
|
0 responses
130 views
0 likes
|
Last Post
by seqadmin
11-08-2024, 06:13 AM
|
||
Started by seqadmin, 11-01-2024, 06:09 AM
|
0 responses
77 views
0 likes
|
Last Post
by seqadmin
11-01-2024, 06:09 AM
|
||
New Model Aims to Explain Polygenic Diseases by Connecting Genomic Mutations and Regulatory Networks
by seqadmin
Started by seqadmin, 10-30-2024, 05:31 AM
|
0 responses
26 views
0 likes
|
Last Post
by seqadmin
10-30-2024, 05:31 AM
|