Bah, xslt has problems with comments. It will bail out with file.xml:1602: parser error : Comment not terminated when finding things like this: Therefore, instead of commenting out, things go to attic *sigh* Walkthroughs These walkthroughs use "msd" as project name (acronym for My Simple Dataset), please replace that with your own project name according to the MIRA naming convention. mira with "--job=est" Example: One strain, Sanger without vectors and no XML Given is just a FASTA and FASTA quality file, where the Sanger sequencing vector sequences and problematic things (like bad quality) have been either completely removed from the data or were masked with "X". Apart from that, no further processing (poly-A removal etc.) was done. Your directory looks like this: bach@arcadia:$ ls -l -rwxr--r-- 1 bach bach 15486163 2009-02-22 21:01 msd_in.sanger.fasta -rwxr--r-- 1 bach bach 38017687 2009-02-22 21:01 msd_in.sanger.fasta.qual Then, use this command: $ mira --project=msd --job=denovo,est,accurate,sanger SANGER_SETTINGS -CL:qc=no >& log_assembly.txt We switch off the Sanger quality clips because bad quality is already trimmed away by your pipeline. Example: One strain, 454 with XML ancillary data Like above, but this time 454 sequencing and the FASTA files contain everything (including remaining adaptors and bad quality), but there's a XML with ancillary data which contains all necessary clips (like generated by, e.g., sff_extract): bach@arcadia:$ ls -l -rwxr--r-- 1 bach bach 15486163 2009-02-22 21:01 msd_in.454.fasta -rwxr--r-- 1 bach bach 38017687 2009-02-22 21:01 msd_in.454.fasta.qual -rwxr--r-- 1 bach bach 10433244 2009-02-22 21:01 msd_traceinfo_in.454.xml Then, use this command: bach@arcadia:$ mira --project=msd --job=denovo,est,accurate,454 454_SETTINGS -CL:qc=no >& log_assembly.txt We just switch off our quality clip for 454 (and load the quality clips from the XML), poly-A removal is performed by MIRA. Loading of TRACEINFO XML data must not be switched on as it's the default for 454 data. Example: One strain, 454 with XML ancillary data, poly-A already removed. Like above, but this time the data was pre-processed by another program to mask the poly-A stretches with X: bach@arcadia:$ ls -l -rwxr--r-- 1 bach bach 15486163 2009-02-22 21:01 msd_in.454.fasta -rwxr--r-- 1 bach bach 38017687 2009-02-22 21:01 msd_in.454.fasta.qual -rwxr--r-- 1 bach bach 10433244 2009-02-22 21:01 msd_traceinfo_in.454.xml Then, use this command: bach@arcadia:$ mira --project=msd --job=denovo,est,accurate,454 454_SETTINGS -CL:qc=no:cpat=no >& log_assembly.txt We just switch off our quality clip (and load the quality clips from the XML) and also switch off poly-A clipping. Remember, never perform poly-A/T clipping twice on a data set. Example: Two strains, 454 with XML ancillary data, poly-A already removed. Like above, but this time we assign reads to different strains. This can happen either by putting the strain information into the XML file (using the strain field of the NCBI TRACEINFO format definition) or by using a two column, tab-delimited file which mira loads on request. As written. when using XML no change to the command line from the last example would be needed. This example uses the extra file with strain information. The file msd_straindata_in.txt contains key value pair information on the relationship of reads to strains and looks like this (gnlti* are name of reads): bach@arcadia:$ cat msd_straindata_in.454.txt gnlti136478626 tom gnlti136479357 tom gnlti136479063 tom gnlti136478624 jerry gnlti136479522 jerry gnlti136477918 jerry Then, use this command (note the additional -LR:lsd option): bach@arcadia:$ mira --project=msd --job=denovo,est,accurate,454 454_SETTINGS -LR:lsd=yes -CL:qc=no:cpat=no >& log_assembly.txt miraSearchESTSNPs Example: Two strains, Sanger with masked sequences, no XML Given just a FASTA and FASTA quality file, where the Sanger sequencing vectors and all sequencing related things (like bad quality) have been either completely removed from the data or were masked with "X". Apart from that, no further processing (poly-A removal etc.) was done. You have n strains (in this example n=2) called "tom" and "jerry" Your directory looks like this: bach@arcadia:$ ls -l -rw-r--r-- 1 bach bach 5276 2009-02-22 21:23 msd_in.sanger.fasta -rw-r--r-- 1 bach bach 13827 2009-02-22 21:23 msd_in.sanger.fasta.qual -rw-r--r-- 1 bach bach 120 2009-02-22 21:27 msd_straindata_in.txt The file msd_straindata_in.txt contains key value pair information on the relationship of reads to strains and looks like this (gnlti* are name of reads): bach@arcadia:$ cat msd_straindata_in.txt gnlti136478626 tom gnlti136479357 tom gnlti136479063 tom gnlti136478624 jerry gnlti136479522 jerry gnlti136477918 jerry To assemble, use this: bach@arcadia:$ miraSearchESTSNPs --project=msd --job=denovo,accurate,sanger,esps1 >&log_assembly_esps1.txt Note that the results of this first step are in sub-directories prefixed with "step1". When the first step finished, continue with this (note that no "--project" is given here): bach@arcadia:$ miraSearchESTSNPs --job=denovo,accurate,esps2 >&log_assembly_esps2.txt Note that the results of this second step are in sub-directories prefixed with "tom", "jerry" and "remain". You will find in each directory the clean transcripts from every strain/organism. To see which SNPs exist between both "tom" and "jerry", launch the third step: bach@arcadia:$ miraSearchESTSNPs --job=denovo,accurate,esps3 >&log_assembly_esps3.txt Note that the results of this third step are in sub-directories prefixed with "step3". In the step3_d_results directory for example, you can transform the CAF file into a gap4 database and then look at the SNPs searching for the tags SROr, SIOr and SAOr.