-
Notifications
You must be signed in to change notification settings - Fork 65
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
Error while running wisecondor #40
Comments
Hi,
You'll have to provide more samples to train on, this won't work well if at all. Also, what chromosome names do you use in your reference data? |
from .expected_mutual_info_fast import expected_mutual_information This is warning i am getting |
Did you change anything and did the error go away in the meantime? What does the output look like now? |
sra_datat21.sorted_plot_z.pdf This is out put i got . |
It looks like the scripts ran but the results are far from useful. You should train WISECONDOR using several samples from the same machine and labflow as the test sample. |
how can i get the npz file of the reference genome.... the input needed is a bam file and how can you create a bam file of the reference genome |
You don't, samples are mapped to the reference genome and the mapped samples (bam files) are combined into a reference for WISECONDOR. |
I have 1 Female and 1 male samples which i got from illumina 1000 genome bam files. And 1 test samples to check for anueploidy.
All the files are located in 1folder
i tried running code alone for reference
python wisecondor.py convert ../Human/Data/Female_0883.bam ../Human/Data/FeMale_trail.npz binsize 250000
and for test sepeartedly
python wisecondor.py convert ../Human/Data/Sample.bam ../Human/Data/sample.npz -binsize 50000
after i have done this
I tried running
python wisecondor.py newref /home/molecular/Downloads/Human/Data/Ref/*.npz ./dataFiles/reference.npz -binsize 250000
so for this i am getting error
Traceback (most recent call last):
File "wisecondor.py", line 525, in
main()
File "wisecondor.py", line 521, in main
args.func(args)
File "wisecondor.py", line 44, in toolNewref
toolNewrefPrep(args)
File "wisecondor.py", line 79, in toolNewrefPrep
samples.append(scaleSample(npzdata['sample'].item(), npzdata['arguments'].item()['binsize'], args.binsize))
File "/home/molecular/Downloads/wisecondor-master/wisetools.py", line 232, in scaleSample
newLen = int(np.ceil(len(chromData)/float(scale)))
TypeError: object of type 'NoneType' has no len()
I am new to this NIPT analysis. And i am not able to understand where i am going wrong.
If anyone the analysis pipeline please let me know
The text was updated successfully, but these errors were encountered: