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
Does the system generates a FASTQ file when generating the BAM file from WELLS file? (Illumina produce the FASTQ file as the raw data and we aligned them later)
is the generated BAM file used by FileExpoter plugin to generate the FASTQ ?
Can anyone explain the process between the WELLS file>BAM file?
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.
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.
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.
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.