-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
228 additions
and
131 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
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
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
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,20 +1,27 @@ | ||
#!/bin/bash | ||
#SBATCH --job-name longgf | ||
#SBATCH --job-name fusionseeker | ||
#SBATCH --partition allnodes | ||
#SBATCH --time UNLIMITED | ||
#SBATCH --cpus-per-task 1 | ||
#SBATCH --mem-per-cpu 10g | ||
|
||
DATADIR_MINIMAP=/datastore/scratch/users/vantwisk/sim/longreads_training${12}k_minimap2 | ||
FUSIONSEEKER_DIR=/datastore/scratch/users/vantwisk/sim/longreads_training${12}k_fusionseeker | ||
DATADIR_MINIMAP=${ALIGNMENT_STORAGE_DIR}/longreads_${9}k_minimap2 | ||
FUSIONSEEKER_DIR=${FUSIONSEEKER_STORAGE_DIR}/longreads_${9}k_fusionseeker | ||
|
||
[ ! -d ${FUSIONSEEKER_DIR} ] && mkdir ${FUSIONSEEKER_DIR} | ||
|
||
#singularity exec --pid --bind /datastore longgf_0.1.2--h05f6578_1.sif \ | ||
fusionseeker \ | ||
--tread 16 \ | ||
/home/vantwisk/FusionSeeker/fusionseeker \ | ||
--thread 32 \ | ||
--bam ${DATADIR_MINIMAP}/fusions-${1}-${5}-${6}-${4}-sorted.bam \ | ||
--gtf Homo_sapiens.GRCh38.105.gtf \ | ||
--ref ../hg38.fa \ | ||
-o ${FUSIONSEEKER_DIR}/fusions-${1}-${5}-${6}-${4}-fusionseeker \ | ||
--datatype nanopore \ | ||
--human38 \ | ||
--outpath ${FUSIONSEEKER_DIR}/fusions-${1}-${5}-${6}-${4}-fusionseeker \ | ||
-s 2 | ||
|
||
#fusionseeker \ | ||
# --thread 16 \ | ||
# --bam ${DATADIR_MINIMAP}/fusions-${1}-${5}-${6}-${4}-sorted.bam \ | ||
# --gtf ${GTF_REFERENCE} \ | ||
# --ref ${DNA_REFERENCE} \ | ||
# -o ${FUSIONSEEKER_DIR}/fusions-${1}-${5}-${6}-${4}-fusionseeker \ | ||
# -s 2 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
if [ ! -f ${REF_STORAGE_DIR}/refFlat.txt ]; then | ||
wget -O ${REF_STORAGE_DIR}/refFlat.txt.gz http://hgdownload.cse.ucsc.edu/goldenPath/hg38/database/refFlat.txt | ||
gunzip ${REF_STORAGE_DIR}/refFlat.txt.gz | ||
fi | ||
|
||
if [ ! -f ${REF_STORAGE_DIR}/hg38_chroma.fa ]; then | ||
wget -O ${REF_STORAGE_DIR}/hg38.chromFa.tar.gz ftp://hgdownload.cse.ucsc.edu/goldenPath/hg38/bigZips/hg38.chromFa.tar.gz | ||
tar -xzf ${REF_STORAGE_DIR}/hg38.chromFa.tar.gz | ||
cat ${REF_STORAGE_DIR}/chr*.fa > hg38_chroma.fa | ||
samtools faidx ${REF_STORAGE_DIR}/hg38_chroma.fa | ||
fi | ||
|
||
java -jar /home/vantwisk/fusim-0.2.2/fusim.jar \ | ||
--gene-model=${REF_STORAGE_DIR}/refFlat.txt \ | ||
--fusions=${NFUSIONS} \ | ||
--reference=${REF_STORAGE_DIR}/hg38_chroma.fa \ | ||
--fasta-output=${FUSIM_FASTA_FILE} \ | ||
--text-output=${FUSIM_TXT_FILE} | ||
|
||
cat ${TRANSCIPT_LIMITED_FILE} ${FUSIM_FASTA_FILE} > ${FUSION_TRANSCRIPTOME} | ||
|
||
Rscript create_fusim_ref.R ${FUSIM_TXT_FILE} ${FUSIM_REF_FILE} |
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
Oops, something went wrong.