Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/conchoecia/hormiphora
Browse files Browse the repository at this point in the history
  • Loading branch information
wrf committed Mar 28, 2020
2 parents bac6e8b + a429e8e commit 1e0a453
Show file tree
Hide file tree
Showing 24 changed files with 167,078 additions and 225 deletions.
8 changes: 4 additions & 4 deletions annotation/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import gzip
MAXTHREADS = 90
REF = "raw_files/UCSC_Hcal_v1.fa.gz"
#Prefix must not have underscores or periods
PREFIX = "Hcv1a1d20200309"
CSV = "raw_files/Hcal_annotation_v68.csv"
PREFIX = "Hcv1a1d20200325"
CSV = "raw_files/Hcal_annotation_v74.csv"
FLNC = "raw_files/GLO64_flnc.fastq.gz"
PILONJAR = "raw_files/pilon-1.22.jar"
RNAF = "raw_files/Hc1_lib17_run1_ILL_RNAseq_R1.fastq.gz"
Expand Down Expand Up @@ -99,8 +99,8 @@ rule gen_transcripts_from_spreadsheet:
input:
ref = "tempfiles/ref.fa",
csv = CSV,
has = "horm_annotation_script.py",
tc = "transcript_classes.py"
has = "scripts/horm_annotation_script.py",
tc = "scripts/transcript_classes.py"
output:
gff = "final_output/{fix}.gff"
shell:
Expand Down
13 changes: 7 additions & 6 deletions annotation/make_release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
RELEASE=Hcv1a1d20200309
RELEASE=Hcv1a1d20200324
mkdir ${RELEASE}_release
find ./final_output/ -type f -name "*" -exec cp {} ${RELEASE}_release \;
rm ${RELEASE}_release/*vcf*
Expand Down Expand Up @@ -36,12 +36,13 @@ mv ${RELEASE}_release/*_phased_* ${RELEASE}_release/phased/
mv ${RELEASE}_release/*empty* ${RELEASE}_release/phased/
mv ${RELEASE}_release/*transcripts_unique_to_h* ${RELEASE}_release/phased/


mkdir ${RELEASE}_release/partly_phased
mv ${RELEASE}_release/h1_*.pep ${RELEASE}_release/partly_phased/
mv ${RELEASE}_release/h2_*.pep ${RELEASE}_release/partly_phased/
mv ${RELEASE}_release/h1_*.fasta ${RELEASE}_release/partly_phased/
mv ${RELEASE}_release/h2_*.fasta ${RELEASE}_release/partly_phased/
mv ${RELEASE}_release/h1_*.pep.gz ${RELEASE}_release/partly_phased/
mv ${RELEASE}_release/h2_*.pep.gz ${RELEASE}_release/partly_phased/
mv ${RELEASE}_release/h1_*.fasta.gz ${RELEASE}_release/partly_phased/
mv ${RELEASE}_release/h2_*.fasta.gz ${RELEASE}_release/partly_phased/

# add the relase notes
cat raw_files/release_template.md | sed 's/RELEASEPREFIX/${RELEASE}' > ${RELEASE}_release/README_${RELEASE}.md

tar -czvf ${RELEASE}_release.tar.gz ${RELEASE}_release
Loading

0 comments on commit 1e0a453

Please sign in to comment.