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

When we run tb-profiler in ubuntu 14.04, we got exception #3

Closed
yujun2017 opened this issue Jul 11, 2017 · 6 comments
Closed

When we run tb-profiler in ubuntu 14.04, we got exception #3

yujun2017 opened this issue Jul 11, 2017 · 6 comments
Assignees

Comments

@yujun2017
Copy link
Contributor

yujun2017 commented Jul 11, 2017

When we run tb-profiler in Ubuntu v14.04, we got exception. The error message is:
set([])
Traceback (most recent call last):
File "TBProfiler/tb-profiler", line 538, in
args.func(args)
File "TBProfiler/tb-profiler", line 500, in main_run_pipeline
lin = assign_lin(args.prefix)
File "TBProfiler/tb-profiler", line 91, in assign_lin
dict_sample_lin[sample_lin[0].split(".")[0]] = sorted([x for x in sample_lin if "." in x and sample_lin[0].split(".")[0] in x])[-1]
IndexError: list index out of range

it works fine in Mac machine using same sample files.

By the way, is it possible to use Bam files as input file instead of fastq file? It is too slow to use when we input fastq files.

@jodyphelan
Copy link
Owner

Hi YuJun,

I suspect that there is a difference in the way SNAP and BWA have created the bams. I will look into this. Great idea to include a bam input option. I will include this in the next release.

Best,
Jody

@jodyphelan jodyphelan self-assigned this Jul 15, 2017
@jodyphelan
Copy link
Owner

Hi YuJun,

I have now added an option to use existing bam files with the -a option.
I have also updated the lineage prediction so please let me know if you have any more issues.

Best,
Jody

@yujun2017
Copy link
Contributor Author

yujun2017 commented Jul 17, 2017 via email

@jodyphelan
Copy link
Owner

Hi Jun,

Yes I this is definitely because of the different mapping tools used. I will look into it.

Jody

@yujun2017
Copy link
Contributor Author

yujun2017 commented Jul 17, 2017 via email

@jodyphelan
Copy link
Owner

Hi John,

Sorry forgot to remove that dependancy. Should be working now.

Jody

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

No branches or pull requests

2 participants