This is a test version of Biostars. For the public version, visit https://www.biostars.org.
automating multiple fastq.gz -> SAM

Hello Guys,

I am interested in automating the combining of multiple fastq.gz files. As you can see in the image below I have already indexed my reference genome with BWA and I have combined the fastq.gz files from my COL strain. Because this Arabidopsis is a test set, I could do it manually. However, in the near future I plan to do the same thing with over 500 strains. So I would like to automate the process.

I have used the linux command cat *_1.fastq.gz > Combined_1.fastq.gz to get it to work at the COL strain. Should I create some sort of bash loop for things like this?

tree

I have already aligned these Combined_1 and Combined_2 to the reference genome and I have used these results with BWA sampe to get a SAM file. So far, results look promising. But, could this process also be automated?

assembly sequencing

1 answer

See my demo project https://github.com/lindenb/ngsxml to generate Makefile-based workflows using XSLT

wordlow

I had considered posting a comment of the form, "Pierre's reply mentioning ngsxml in 3, 2, 1...". I guess I should have!

How did you make that graph?

Log in to answer this question.