Difference between revisions of "HowTo"
From salvaEwiki
(Created page with "In bash, at Moria. Generate the md5 signatures of the files in a folder: for file in /Volumes/MBL21/A_TREASURY/012_A_TRASURY_ThiobiosGenomes/* ; do md5 -q $file >> resultsQ...") |
|||
Line 1: | Line 1: | ||
− | In bash, at Moria | + | ==In bash, at Moria== |
Generate the md5 signatures of the files in a folder: | Generate the md5 signatures of the files in a folder: | ||
Line 9: | Line 9: | ||
Extract the first column: | Extract the first column: | ||
awk '{print $1}' sizes.out > sizesQ.out | awk '{print $1}' sizes.out > sizesQ.out | ||
+ | |||
+ | ==At CUBE== | ||
+ | |||
+ | GC contents of the files in a folder: | ||
+ | for file in /proj/genomes/Thiobios/data/ThiobiosMAGs/* ; do gc $file >> gc.out ; done | ||
+ | awk '{print $4}' gc.out > gcQ.out |
Revision as of 23:39, 24 August 2017
In bash, at Moria
Generate the md5 signatures of the files in a folder:
for file in /Volumes/MBL21/A_TREASURY/012_A_TRASURY_ThiobiosGenomes/* ; do md5 -q $file >> resultsQ.out ; done
Generate the sizes of the files in a folder:
for file in /Volumes/MBL21/A_TREASURY/012_A_TRASURY_ThiobiosGenomes/* ; do wc -c $file >> sizes.out ; done
Extract the first column:
awk '{print $1}' sizes.out > sizesQ.out
At CUBE
GC contents of the files in a folder:
for file in /proj/genomes/Thiobios/data/ThiobiosMAGs/* ; do gc $file >> gc.out ; done awk '{print $4}' gc.out > gcQ.out