Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aflitos, Saulo Alves
FRC
Commits
ddea8893
Commit
ddea8893
authored
Oct 30, 2012
by
Aflitos, Saulo Alves
Browse files
Running FRC now works
parent
718f4bd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
FRC_heinz.sh
View file @
ddea8893
...
...
@@ -17,7 +17,10 @@ done
DIR
=
"
$(
cd
-P
"
$(
dirname
"
$SOURCE
"
)
"
&&
pwd
)
"
# Use a single file for logging, use the starttime as identifier
LOGFILE
=
"FRC_heinz."
`
date
+%Y%m%d_%k%M%S
`
.out
# EMBOSS path
export
PATH
=
/home/assembly/bin/haars001/bin:
$PATH
#FRC path
export
PATH
=
/home/jvh/code/FRC_align/src:
$PATH
# Input assembly
#allpaths /home/assembly/dev_150/assemblies/allpaths_lg_sample_heinz_raw/sl/data/run/ASSEMBLIES/test/final.assembly.fasta
#allpaths_454 /home/assembly/dev_150/assemblies/allpaths_lg_sample_heinz_raw_with454/sl/data/run/ASSEMBLIES/test/final.assembly.fasta
...
...
@@ -27,13 +30,15 @@ LOGFILE="FRC_heinz."`date +%Y%m%d_%k%M%S`.out
ASSEMBLY
=
/home/assembly/dev_150/assemblies/allpaths_lg_sample_heinz_raw/sl/data/run/ASSEMBLIES/test/final.assembly.fasta
PREFIX
=
allpaths_lg
ASSEMBLY
=
/home/assembly/dev_150/assemblies/clc-default/clc_contigs.fa
PREFIX
=
clc
MIN_PE_INS
=
320
MAX_PE_INS
=
430
MIN_MP_INS
=
2435
MAX_MP_INS
=
3555
ESTIMATED_GENOME_SIZE
=
760000000
OUTPUT_HEADER
=
${
PREFIX
}
.FRC.
# Map reads against assembly with BWA
# Create index
if
[
!
-f
${
PREFIX
}
.bwt
]
...
...
@@ -103,15 +108,15 @@ fi
samtools index
${
PREFIX
}
.PE.sorted.bam
# run FRC as per README
FRC
--pe-sam
${
PREFIX
}
.PE.sorted.ba
\
FRC
--pe-sam
${
PREFIX
}
.PE.sorted.ba
m
\
--pe-min-insert
$MIN_PE_INS
\
--pe-max-insert
$MAX_PE_INS
\
--mp-sam
${
PREFIX
}
.MP.bam
\
--mp-min-insert
$MIN_MP_INS
\
--mp-max-insert
$MAX_MP_INS
\
--genome-size
$ESTIMATED_GENOME_SIZE
\
--output
$OUTPUT_HEADER
\
--output
$OUTPUT_HEADER
exit
;
# TODO : Create better CE statisitcs
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment