-
Notifications
You must be signed in to change notification settings - Fork 14
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
IndexError: list index out of range #12
Comments
Hi. Did you read issue #4 and #5? On Thursday, 6 November 2014, WashingtondaSilva [email protected]
Sent from a mobile device. Please excuse any typos. |
Hi Dr. Ozagordi, Thank you very much for the quick reply. I just need to do a SNV calling and get the frequency. I am working with PVY populations using Illumina NGS 100bp long reads. I am not so sure I am running the right commands. Can I just run the amplian.py or should I run the shorah.py on my data? Cheers, -Washington |
On 7 November 2014 21:50, WashingtondaSilva [email protected]
Ciao. |
Thanks for the response Dr. Ozagordi, I run VarsCan and also the bcftools on the same data and got lots of SNVs. I also checked the alignment in samtools tview and it seems to be correct. I will keep trying as I really would like to use Shorah in my studies. ########### Here is my workflow, perhaps I am missing something. ref fasta file is PVY.faIllumina reads file is trimmed.fastqBuilding indexbowtie2-build PVY.fa PVY Aligning sequences to the reference genomebowtie2 -p 30 --sensitive -x PVY trimmed.fastq > trimmed.sam Index ref fasamtools faidx PVY.fa SAM to BAM (b= only mapped reads)samtools view -bS trimmed.sam > trimmed.bam #Sorting the BAM file #Creating the BAM index #Generating mpileup file #Running shorah Thanks again, Ciao, -Washington |
Hard to tell. That said, why are you giving the option |
Dear Dr. Ozagordi, I did what you suggested and it seems like the running worked. I am just a little confused with the SNV.txt output header. Which frequency do I use? Frq1, 2 or 3? Again, for now, I just need the SNV freq and location of the SNVs in the genome for plotting and extract information. Here goes the head of the SNV.txt file on svn dir. I am assuming that is the file I need. wld28@william: Thank you very much for your prompt help. Ciao, -Washington |
You should look at |
Great, Thank you very much Dr. Ozagordi. -Washington |
validate email address to prevent header injection
* [local_haplotype_inference] remove errorouns mfa * TEST: Feature vi aug11 merge to master (#12) * [local_haplo] adapt shotgun import to new direcotry name of mfa-quality * 'Merge' learn_error_params version from 'shorah_mfa_s1_a0.000001_relaxConv' branch * Revert "'Merge' learn_error_params version from 'shorah_mfa_s1_a0.000001_relaxConv' branch" This reverts commit dad1df3. * [learn_error_params] rename directory * [learn_error_params] correct input argutments for learn_error_params.main()
I ran shorah.py in my data and got the following error. I also got a bunch of empty .fas files as my output. How can I resolve this issue? Thanks.
wld28@william:~/SG1/2$ python
/shorah_0.8/shorah.py -b trimmed.bam.sorted.bam -f PVY.fa/SG1/2$Traceback (most recent call last):
File "/home/wld28/shorah_0.8/shorah.py", line 142, in
keep_files=options.k, alpha=options.a)
File "/data/home/wld28/shorah_0.8/dec.py", line 347, in main
r = aligned_reads.keys()[0]
IndexError: list index out of range
wld28@william:
The text was updated successfully, but these errors were encountered: