r/bioinformatics • • 9d ago

technical question Need help with analysis

Can anyone please advise me on the workflow to analyze a fastq data set?

Say for example, if i have MTBC fastq files generated after sequencing, and my objective is to obtain information on the drug resistance, and lineage pattern(tree building) and then move onto a more complex approach of trying to find timelines of origin for that lineage through phylodynamics, what steps would i need to follow and what tools would i need to use to achieve my objectives?

Any help is appreciated. Thank you for your time!

PS: I am still a novice trying to understand bioinformatics.

1 Upvotes

6 comments sorted by

1

u/Patritious 5d ago

DM me,I just finished a script for this. I can share it and assist as I'm doing RSV analysis next week

1

u/CrazySci_isgr8 3d ago

Happy to help either here or dm. But it’s heavily context dependent - is your species previously defined for genome with reliable annotation (or at the very least a resistance gene/ plasmid?).

Also of importance is the type of resistance, the gene and what you expect to find. Everyone has to start somewhere particularly with huge approaches like whole genome sequencing but it’s important to have a preliminary goal or direction otherwise you will feel lost and overwhelmed.

Regardless of the aim - if you have a reliable genome to use follow typical read alignment to genome steps using an online tutorial (many to use so find one you like and try to understand the reasons for why for the major steps). Once you do that it’s more about preliminary resistance screening - so using the aligned files and querying for known polymorphisms and potential novel ones that are problematic.

If you don’t have a gene or genome things get more interesting. I had this situation myself for my first major bioinformatics project. Used SPAdes following basic pipeline for reads cleaning (applicable to read alignment to genome too - so start there) and then searched for a single gene in the whole unannotated genome (small eukaryote genome) with BLAST and annotated with homology using a significant chunk of the hypothetical gene against confirmed genes of similar species. It was a hassle but much quicker than automated annotation softwares like MAKER. I would recommend that pipeline for a beginner personally but both have pros/ cons

1

u/CrazySci_isgr8 3d ago

Once the gene is established I would then and only then consider the bigger task of phylodynamics and lineage patterns etc. that is much more messy and dependent on the approach and requires better definition of aims. Start small and work way up imo!

1

u/toolomebio 2d ago

For MTBC, TB-Profiler is a good start: it takes the FASTQ files and reports drug-resistance mutations and the lineage in one run. For a tree, map reads to H37Rv (for example with snippy), call SNPs, and mask repetitive regions such as PE/PPE genes and known resistance sites before building a maximum-likelihood tree with IQ-TREE. Use a SNP alignment with an ascertainment bias correction, or add the constant sites. For dating, first check for a temporal signal (root-to-tip regression in TempEst, with sampling dates). Then use BEAST or TreeTime. Without a clear temporal signal, dating results are not reliable.

1

u/Electronic_Fish_3157 PhD | Industry 2d ago

First convert it to BAM files and then you can perform some analysis. NGS101.com