![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convert BAM file to FASTQ | malachig | Bioinformatics | 28 | 02-02-2016 04:04 AM |
Convert merged BAM back to per lane BAM or FASTQ file | danielsbrewer | Bioinformatics | 6 | 10-03-2013 08:29 AM |
FastQ/BAM compression | tir_al | General | 16 | 05-15-2013 01:38 AM |
Reverse engineering BAM files: BAM -> FASTQ | gene coder | Bioinformatics | 3 | 01-03-2012 03:42 PM |
Stand Alone Bam to FASTQ | dcfargo | Bioinformatics | 11 | 08-02-2010 06:56 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Hangzhou, China Join Date: Jan 2013
Posts: 28
|
![]()
Hi!
Can anyone tell me is it possible to convert a .fastq file to a .bam file? How to convert or which tool can I use? Thanks in advance. |
![]() |
![]() |
![]() |
#3 |
Senior Member
Location: Halifax, Nova Scotia Join Date: Mar 2009
Posts: 381
|
![]()
Fastq is raw data (input)...BAM is an alignment file (output)
One is generated from the other using mapping/ de novo assembly software...One can not simply convert |
![]() |
![]() |
![]() |
#4 |
Member
Location: Hangzhou, China Join Date: Jan 2013
Posts: 28
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Location: East Coast USA Join Date: Feb 2008
Posts: 7,082
|
![]() |
![]() |
![]() |
![]() |
#6 |
Junior Member
Location: Finland Join Date: Jan 2012
Posts: 8
|
![]()
Use FastqToSam from picard tools. Then convert sam to bam using SamFormatConverter.
|
![]() |
![]() |
![]() |
#7 | |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]() Quote:
http://blastedbio.blogspot.co.uk/201...ve-sambam.html |
|
![]() |
![]() |
![]() |
#8 |
Member
Location: India Join Date: Jan 2015
Posts: 14
|
![]()
Hi i am new to NGS analysis. I have read and tried many answers regarding converting fastq to sam through picard tools, But it dnt work out? is there any other way to do that?thank u.
|
![]() |
![]() |
![]() |
#9 |
Member
Location: Hangzhou, China Join Date: Jan 2013
Posts: 28
|
![]()
I am afraid I don't know more than you do. I just followed them and get something undesirable.
|
![]() |
![]() |
![]() |
#10 |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]()
You probable need to use a read mapping tool like BWA or Bowtie2 to align the raw FASTQ reads to a genome giving you aligned reads in SAM/BAM format.
This is not simply "converting" from FASTQ to SAM/BAM. The tools look at each FASTQ read and search the genome looking to find where it matches best in order to "align" the read to the genome. (I am basically repeating what GenoMax said in his first reply at the start of this thread.) |
![]() |
![]() |
![]() |
#11 | |
Member
Location: Uganda Join Date: Jan 2015
Posts: 71
|
![]() Quote:
How can use I it either as standalone or unix? Last edited by kaps; 05-22-2015 at 01:54 AM. Reason: error posting |
|
![]() |
![]() |
![]() |
Tags |
fastq bam sam, fastq files |
Thread Tools | |
|
|