When you convert from uBAM to fastq you lose the flow signal as the fastq format only includes base quality scores. It's explained e.g. here:
Leveraging Flow Order And Flow Signals From Ion Torrent Data
Hi all,
Im new to the ION Torrent technology and need your help to figure this out. The Ion GeneStudio™ S5 System generates BAM files as its primary output. when i need a particular FASTQ file, i can use the FileExporter plugin and get the relevant FASTQ file. My questions are
Thanks a lot.
The reason tools create BAM files instead of FASTQ is that each alignment in a BAM file can carry additional information via the so-called "tags".
For Illumina reads the metadata on each reads crammed into the read name (well number, spot number, date etc).
That being said, it is evidently absurd to use a Sequence Alignment(!) Format, to store non-aligned reads, but hey, when it comes to bioinformatics, absurdity is the new normal.
In your BAM file each read is tagged with metadata in the form of TAG:TYPE:value the documentation for the sequencer describes what each tag means.
Long story short, when you convert to FASTQ some metadata may be lost, if you need to filter your data in ways not offered by a tool you can probably do it by parsing the output.
When you convert from uBAM to fastq you lose the flow signal as the fastq format only includes base quality scores. It's explained e.g. here:
Leveraging Flow Order And Flow Signals From Ion Torrent Data
Log in to answer this question.
You can convert bam file to fastq file by using Samtools
Thank you for the information. I can convert the BAM into FASTQ but i really needs to know whats happen inside the Fileexporter plugin and Torrent Basecaller.
FileExporter converts bam files to fastq files
Thank you for the reply. I have go through the link and found the function
which converts the BAM into a FASTQ file.
Hence FileExporter pugin uses the GATK and Picard tools.