mkdir $(date '+%Y%m%d')_entrega01
cd $(date '+%Y%m%d')_entrega01

#Create symbolic links depending on the analysis
#Individual files

ln -s ../../ANALYSIS/*ANALYSIS01_EXOME/99-stats/hsMetrics_all.out mapping_metrics.csv
ln -s ../../ANALYSIS/*ANALYSIS01_EXOME/01-sarek/multiqc/multiqc_report.html .
ln -s ../../ANALYSIS/*ANALYSIS01_EXOME/03-annotation/variants_*filterAF*.tab .

mkdir annotation_tables
cd annotation_tables; ln -s ../../../ANALYSIS/*ANALYSIS01_EXOME/03-annotation/vep_annot*.txt . ; cd -

# Prepare data for OmicsExplorer
mkdir OmicsExplorer

ln -s ../../ANALYSIS/*ANALYSIS01_EXOME/03-annotation/vep_annot_ALL_final.txt \
./OmicsExplorer/vep_annot_ALL_final_exome.txt

ln -s ../../ANALYSIS/*ANALYSIS01_EXOME/99-stats/hsMetrics_all.out \
./OmicsExplorer/mapping_metrics_exome.csv

ln -s ../../ANALYSIS/*ANALYSIS01_EXOME/99-stats/bigwig \
./OmicsExplorer/
