Commit ea458063 authored by Marine Bergot's avatar Marine Bergot

Upload New File

parent 3223df45
#!/bin/bash
WHERE=$1
for file in $WHERE/*.txt
do
TAD=$(basename $file _list_genes.txt)
mkdir -p $WHERE/$TAD
for gene in $(cat $file)
do
head -n 1 /work/gad/shared/analyse/Integration/RNA_SEQ/normalized_counts.csv >> $WHERE/$TAD/$gene.txt
grep $gene /work/gad/shared/analyse/Integration/RNA_SEQ/normalized_counts.csv >> $WHERE/$TAD/$gene.txt
done
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment