-
Notifications
You must be signed in to change notification settings - Fork 99
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
Generating cytosine report #655
Comments
I am afraid I don't think the BAM files are compatible :(, and you would indeed have to re-start from the alignment step... |
Good morning,
I installed Bismark as mentioned.
When I tried doing the genome indexing it failed
home/juaguila/appz/Bismark-0.24.2/bismark_genome_preparation ../Bismark/
Writing bisulfite genomes out into a single MFA (multi FastA) file
Bisulfite Genome Indexer version v0.24.2 (last modified: 19 May 2022)
Step I - Prepare genome folders - completed
Total number of conversions performed:
C->T: 52215405
G->A: 52297904
Step II - Genome bisulfite conversions - completed
Bismark Genome Preparation - Step III: Launching the Bowtie 2 indexer
Please be aware that this process can - depending on genome size - take several hours!
/home/applications/bowtie2/2.5.3/bowtie2-build-s: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /home/applications/bowtie2/2.5.3/bowtie2-build-s)
/home/applications/bowtie2/2.5.3/bowtie2-build-s: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/applications/bowtie2/2.5.3/bowtie2-build-s)
/home/applications/bowtie2/2.5.3/bowtie2-build-s: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/applications/bowtie2/2.5.3/bowtie2-build-s)
/home/applications/bowtie2/2.5.3/bowtie2-build-s: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/applications/bowtie2/2.5.3/bowtie2-build-s)
/home/applications/bowtie2/2.5.3/bowtie2-build-s: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/applications/bowtie2/2.5.3/bowtie2-build-s)
/home/applications/bowtie2/2.5.3/bowtie2-build-s: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /home/applications/bowtie2/2.5.3/bowtie2-build-s)
/home/applications/bowtie2/2.5.3/bowtie2-build-s: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/applications/bowtie2/2.5.3/bowtie2-build-s)
Traceback (most recent call last):
File "/home/applications/bowtie2/2.5.3/bowtie2-build", line 134, in <module>
main()
File "/home/applications/bowtie2/2.5.3/bowtie2-build", line 68, in main
if sais_enabled(build_bin_spec):
File "/home/applications/bowtie2/2.5.3/bowtie2-build", line 42, in sais_enabled
output = subprocess.check_output([build_bin_spec, "--version"], universal_newlines=True)
File "/usr/lib64/python3.6/subprocess.py<http:https://subprocess.py/>", line 356, in check_output
**kwargs).stdout
File "/usr/lib64/python3.6/subprocess.py<http:https://subprocess.py/>", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/home/applications/bowtie2/2.5.3/bowtie2-build-s', '--version']' returned non-zero exit status 1.
Parent process: Failed to build index
…________________________________________________
One option that I am doubtful is that bowtie2 is installed in the HPC as a module and I loaded.
Do I have to figure out the path of bowtie2 or it is obtained automatically?
Thanks,
Juan Pablo Aguilar
________________________________
From: Felix Krueger ***@***.***>
Sent: Tuesday, February 20, 2024 5:12:21 AM
To: FelixKrueger/Bismark ***@***.***>
Cc: Aguilar Cabezas, Juan Pablo ***@***.***>; Author ***@***.***>
Subject: [External] Re: [FelixKrueger/Bismark] Generating cytosine report (Issue #655)
Use caution with links and attachments.
I am afraid I don't think the BAM files are compatible :(, and you would indeed have to re-start from the alignment step...
—
Reply to this email directly, view it on GitHub<#655 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJWD2VJMA5CRM7P4JVOH74DYURZILAVCNFSM6AAAAABDP7LTP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTHA4DCNRUGY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hmm, this does indeed look like a Bowtie2 installation issue. If you don't specify the path yourself it will look in the You can find out the path with the command When you run |
I did actually think about that but the version in conda is 0.22 while the last one is 0.24.
Since I was told to best use the latest version due to bugs and updates.
…________________________________
From: Felix Krueger ***@***.***>
Sent: Wednesday, February 21, 2024 10:20:32 AM
To: FelixKrueger/Bismark ***@***.***>
Cc: Aguilar Cabezas, Juan Pablo ***@***.***>; Author ***@***.***>
Subject: [External] Re: [FelixKrueger/Bismark] Generating cytosine report (Issue #655)
Use caution with links and attachments.
Hmm, this does indeed look like a Bowtie2 installation issue. If you don't specify the path yourself it will look in the PATH environment variable. It seems to use it from /home/applications/bowtie2/2.5.3/bowtie2-build.
You can find out the path with the command which bowtie2.
When you run /home/applications/bowtie2/2.5.3/bowtie2-build --help you should be able to see the help text. Otherwise, I would recommend you reintall Bowtie2 (or install Bismark using conda install bismark, which will also satisfy all other requirements)
—
Reply to this email directly, view it on GitHub<#655 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJWD2VIZAZWLUMOZO6BR2HTYUYGEBAVCNFSM6AAAAABDP7LTP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJWHEZDCMRXHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The latest version on bioconda is 0.24.2, the instructions are here: https://bioconda.github.io/recipes/bismark/README.html |
Hi, I Installed Bismark in conda, and I am trying to run the workflow and I would appreciate if you could check my code, and tell me what I am writing wrong or missing. I loaded the environment, and I am running the code in the folder, as an .sh file, and it is not creating any bam output. I start with a loop to grab the names of the files, but then alignment doesn't happen. `for i in *_R1_val_1.fq.gz
` Which I run this: The genome was created in the genome directory. The log is as follows: Bowtie 2 seems to be working fine (tested command 'bowtie2 --version' [2.4.1]) Input files to be analysed (in current folder '/DataDrive/juaguila/Bvos-trimmed/BM-lot'): Neither -s (single-end) nor -p (paired-end) selected for deduplication. Trying to extract this information for each file separately from the @pg line of the SAM/BAM file If there are several alignments to a single position in the genome the first alignment will be chosen. Since the input files are not in any way sorted this is a near-enough random selection of reads. Checking file >>V00001.bam<< for signs of file truncation... [ERROR] The file appears to be truncated, please ensure that there were no errors while copying the file!!! Exiting... I would appreciate if you could tell me what parameter I am missing |
The error here is this:
So the Bismark could simply be:
This is fine:
The following command will need
|
Thanks, Here is the code
I have a question too. [juaguila@v001 BSMK-1]$ cd ../BSMK-0/ Did I write something wrong? |
The options I believe for the output files, only the ending is stripped off (e.g.
The file |
Good evening, I followed your code for the methylation extractor, and I didn't get the bedgraph ouput nor the genome-wide methylation report files, which I require to do the detection of differentially methylated regions. The code was:
The log tells this error: Methylation information will now be written into a bedGraph and coverage fileUsing the following files as Input: Writing bedGraph to file: V00747.deduplicated.bedGraph.gz Now writing methylation information for file >>CpG_OT_V00747.deduplicated.txt.gz<< to individual files for each chromosome And for the cytosine report. Methylation information will now be written into a genome-wide cytosine reportAdding context-specific methylation summaries
No last chromosome was defined, something must have gone wrong while reading the data in (e.g. specified wrong file path for a gzipped coverage file?). Please check your command! I also wanted to inquire about this error. While I looked at the log file, I saw this very often: Is this something that I have to worry about? I indexed the reference genome the standard way, my methylation reads are PE-150. Could you please tell what is wrong with my code that it did not generate the output files? Lastly, while reading the log I found this line about directional library in the cytosine report: Finished generating genome-wide cytosine report Bowtie 2 seems to be working fine (tested command 'bowtie2 --version' [2.5.3]) Input files to be analysed (in current folder '/home/juaguila/BombusMethylSeq/Rec-5/BSMK-2'):
|
You need to use the option |
Can I rerun the methylation extractor code or should I eliminate any of the previous files (X.methXtractor.temp), or better move the deduplicated files to a new directory? Thanks |
I would probably remove the .temp files, but it might work even leaving them there... |
A couple of comments:
|
Hi,
I am studying differential methylation in bumblebees, and after using methylKit to find differentially methylated sites it seems better to find differentially methylated regions. I wanted to find DMR using the software swDMR (unless you suggest a different/better one) and it needs as input the cytosine report with strand and counts.
I am contacting you because for methylKit I have the bam files for methylation calling but I did pre-process them in a different way, not with Bismark. I trimmed the reads based on the suggested EM-seq parameters, and I checked for methylation-bias with Methyldackel with regular trimming parameters. After confirming best trimming parameters, I aligned the trimmed reads with bwa-meth, sam-to-bam conversion, and deduplication/elimination with Picard.
I wanted to ask if I can use the bam files that I have already generated to make the cytosine report or if I should re-processed my files all over again with Bismark.
Thank you again.
The text was updated successfully, but these errors were encountered: