Skip to content

Readcount fix#273

Open
averagehat wants to merge 6 commits intomasterfrom
readcount-fix
Open

Readcount fix#273
averagehat wants to merge 6 commits intomasterfrom
readcount-fix

Conversation

@averagehat
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread ngs_mapper/runsample.py
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}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to remove the tmp_bam file to be considerate of space or make that an option

Comment thread ngs_mapper/runsample.py
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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you install lofreq anywhere? I don't see that you added it to conda requirements or other requirements file?

Comment thread ngs_mapper/runsample.py Outdated
rets.append( r )
# Variant Calling
from ngs_mapper.config import load_config
bc_cfg = load_config(cmd_args['config'])['base_caller']
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants