Readcount fix#273
Open
averagehat wants to merge 6 commits intomasterfrom
Open
Conversation
necrolyte2
reviewed
Dec 11, 2017
| if cmd_args['config']: | ||
| cmd += ' -c {config}' | ||
| p = run_cmd( cmd.format(**cmd_args), stdout=lfile, stderr=subprocess.STDOUT ) | ||
| tcmd = "samtools view -F 2048 -b {tmp_bam} > {bamfile}" |
Member
There was a problem hiding this comment.
You might want to remove the tmp_bam file to be considerate of space or make that an option
| lofreq = bc_cfg['lofreq']['default'] | ||
| lofreq_options = bc_cfg['lofreq_options']['default'] or '' | ||
| if lofreq: | ||
| cmd1 = 'lofreq call -f {reference} {bamfile} -o {vcf} ' + lofreq_options |
Member
There was a problem hiding this comment.
Did you install lofreq anywhere? I don't see that you added it to conda requirements or other requirements file?
| rets.append( r ) | ||
| # Variant Calling | ||
| from ngs_mapper.config import load_config | ||
| bc_cfg = load_config(cmd_args['config'])['base_caller'] |
Member
There was a problem hiding this comment.
Only way to use this is to edit config file and use that config file right?
Maybe we can add a flag to run_sample.py as well?
7d1e3ff to
8d6b3b6
Compare
8d6b3b6 to
2146a5f
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.