SciLifeLab/scilifelab — pull request #386 by guillermo-carrasco (2014-06-26 09:07:54+00:00)
Title: Show fastq_screen metrics for a given project-flowcell

This is @mayabrandi 's script __as it is__. It will actually work the same way with the new fastq_screen output.

This is an example of the old output:
```
Library Unmapped Mapped_One_library Mapped_Multiple_Libraries
Spruce 100.00 0.00 0.00
```

This is an example of the new output:
```
Library	#Reads_processed	#Unmapped	%Unmapped	#One_hit_one_library	%One_hit_one_library	#Multiple_hits_one_library	%Multiple_hits_one_library	#One_hit_multiple_libraries	%One_hit_multiple_libraries	Multiple_hits_multiple_libraries	%Multiple_hits_multiple_libraries
phiX	100	0	0.00	100	100.00	0	0.00	0	0.00	0	0.00

%Hit_no_libraries: 0.00
```

If you take a look at the code, the result of the grep commands will be the same in both cases: Just output the whole line.