Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlePull out all the gene ids corresponding to DEGs
#Alter this old command to pull out Gene ids corresponding to DEGs and store it in a file called DEG
sed 's/,/\t/g' deseq2_htseq_C1_vs_C2.csv|awk '{if ((($3>=1)||($3<=-1))&&($6<=0.05)) print $1,$3,$6}'|wc -l > DEG

.....

INPUT FILE 2: ALL (contains all 14869 genes)

...

Code Block
titlePull out all the gene ids
#Command to pull out ALL gene ids and store it in a file called ALL
sed 's/,/\t/g' deseq2_htseq_C1_vs_C2.csv|cut -f 1 > ALL


SCP THE DATA OVER TO YOUR COMPUTER:

...

Code Block
titlePull out all the gene ids, ranked by pvalue
##Command to pull out ALL gene ids, sorted by adjpvalue store it in a file called ALLRANKED
#Remember we already sorted our results by adjusted pvalue in the deseq2 script before writing it out to a file. So you#you just #needneed to pull out the gene ids in the order it already is in.
sed 's/,/\t/g' deseq2_htseq_C1_vs_C2.csv|cut -f 1 > ALLRANKED


SCP THE DATA OVER TO YOUR COMPUTER:

Code Block
titlescp
#ON LS5: copy the path for the ALL and DEG filesALLRANKED file
pwd
 
#ON LOCAL COMPUTER: from a terminal tab 
scp <username>@ls5.tacc.utexas.edu:<pathtofileson/ALLRANKED> .

...