Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new way to call extract reads #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
open file with "r" mode, otherwise will raise NotADirectory error
yangyxt committed Nov 30, 2020
commit f06b09b71ffd45c741fab662b0dc218910295dd2
2 changes: 1 addition & 1 deletion 2-generate_gaps/extract_gaps.py
Original file line number Diff line number Diff line change
@@ -271,7 +271,7 @@ def interval_merge(intervals):
# splitting up the reference genome into the gaps
########################################################

fasta_fn = open(sys.argv[2])
fasta_fn = open(sys.argv[2], "r")
output_fn = open(sys.argv[4], "w")

gap_offset = 0
2 changes: 1 addition & 1 deletion run_pipeline.sh
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ THREAD=${10}


function generate_chain(){
bash "${SRCFOLDER}/1-generate_chain/chain_install.sh" "${OUTPUT}/"
bash "${SRCFOLDER}/1-generate_chain/chain_install.sh" "${OUTPUT}"
bash "${SRCFOLDER}/1-generate_chain/sample_run.sh" \
"${OLDREF}" \
"${NEWREF}" \