Skip to content

Commit

Permalink
modified: cre.gemini2txt.vcf2db.sh
Browse files Browse the repository at this point in the history
	new file:   cre.lupus.filter.sh
	new file:   cre.lupus.oparina_genes.filter.sh
	modified:   cre.sh
  • Loading branch information
naumenko-sa committed Oct 23, 2018
1 parent cbdc1df commit 54eb262
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions cre.gemini2txt.vcf2db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ sQuery="select \
qual as Quality,\
gene as Gene,\
clinvar_sig as Clinvar,\
ensembl_gene_id as Ensembl_gene_id,\
transcript as Ensembl_transcript_id,\
aa_length as AA_position,\
exon as Exon,\
Expand Down
7 changes: 7 additions & 0 deletions cre.lupus.filter.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

bname=`basename $1 .csv`

head -n1 $1 > $bname.lupus.csv
cat $1 | egrep "\"(ACP5|ADAR|C1QA|C1QB|C1QC|C1R|C1S|C2|C3|C4A|C4B|CYBB|DNASE1|DNASE1L3|FASLG|IFIH1|KRAS|MAN2B1|NEIL3|PEPD|PRKCD|PSMA3|PSMB4|PSMB8|PTEN|PTPN11|RAG2|RNASEH2A|RNASEH2B|RNASEH2C|SAMHD1|SHOC2|SLC7A7|TMEM173|TNFRSF6B|TREX1)\"" >> $bname.lupus.csv
#cat $1 | awk -F ',' '$6 ~/^(AP3B1|BLOC1S6|CD27|GATA2|ITK|LYST|NLRC4|PRF1|RAB27A|SH2D1A|SLC7A7|STX11|STXBP2|UNC13D|XIAP)$/{print}' > $bname.lupus.csv
7 changes: 7 additions & 0 deletions cre.lupus.oparina_genes.filter.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

bname=`basename $1 .csv`

head -n1 $1 > $bname.lupus.csv
cat $1 | egrep "\"()\"" >> $bname.lupus.oparina.csv
#cat $1 | awk -F ',' '$6 ~/^(AP3B1|BLOC1S6|CD27|GATA2|ITK|LYST|NLRC4|PRF1|RAB27A|SH2D1A|SLC7A7|STX11|STXBP2|UNC13D|XIAP)$/{print}' > $bname.lupus.csv
2 changes: 1 addition & 1 deletion cre.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function f_make_report
then
export depth_threshold=5
else
export depth_threshold=10
export depth_threshold=10
fi

if [ "$type" == "wes.synonymous" ] || [ "$type" == "wgs" ]
Expand Down

0 comments on commit 54eb262

Please sign in to comment.