-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified: cre.gemini_load.sh modified: cre.prepare_bcbio_run.sh modified: cre.sh deleted: xhmm.sh
- Loading branch information
1 parent
521a2e0
commit f8ec2f4
Showing
4 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
#average coverage and % of bases covered at 10x | ||
#total 35,405,680, 22387 genes | ||
|
||
for f in *.coverage;do cat $f | sed 1d | awk '{if ($9<10) print $0}' | awk '{print $4}' > $f.bad_genes.txt;done; | ||
for f in *.bad_genes.txt; do for gene in `cat $f`;do cat protein_coding_genes.exons.fixed.bed | grep $gene >> $f.exon_lengths;done;done; | ||
for f in *.exon_lengths;do echo $f;cat $f | awk '{sum+=$3-$2+1}END{print sum}';done; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#/bin/bash | ||
#!/bin/bash | ||
|
||
#vep2gemini - loads vep annotated vcf file to gemini database | ||
#based on bcbio.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters