Question: An error occurred setting the metadata for FIlter Bam/SAM files
1
gravatar for sakshig
3 months ago by
sakshig10
sakshig10 wrote:

I am getting error in setting the metadata after filter BAM/SAM files. I tried using auto-detect but it didn't work. Because of this I am unable to view my files in IGB. Kindly help me with the same.

ADD COMMENTlink modified 3 months ago by Jennifer Hillman Jackson25k • written 3 months ago by sakshig10
0
gravatar for Jennifer Hillman Jackson
3 months ago by
United States
Jennifer Hillman Jackson25k wrote:

Hello,

After BAM filtering, the header can be removed. This sounds like your problem. BAMs with no header cause problems with the newer BAM dataset format requirements (are now stricter). We will be updating the tools (details: https://github.com/galaxyproject/usegalaxy-playbook/issues/102).

Which filter tool are you specifically using and which tool produced the input? Was that input SAM or BAM to start with? Please include tool version's and the server where you are working, so we can make sure that is on our list for updates/testing. Or you can send a history share link to galaxy-bugs@lists.galaxyproject.org and note the dataset number and we can capture that info.

To fix that problem:

You'll need to add back in the header and convert to BAM if working with SAM input. This process should now automatically coordinate sort the BAM, but check and coordinate sort after if needed. Then the datatype will be correct (just bam) and you can adjust any other metadata you need (database, etc). Tools for these tasks are in a few tool groups, in a few versions with different functions, so you can "tool search" those or just review the available tools in SAMTools or Picard first.

If that is not your problem, then definitely do send in a history share link with the same info and we can help troubleshoot if you working at Galaxy Main or can reproduce the problem here: https://usegalaxy.org. If not working at Main or cannot reproduce the problem there, you might need to reach out to your local admins, unless the details can be explained or shared publically with enough detail to reproduce the problem.

FAQs: https://galaxyproject.org/support/

Thanks! Jen, Galaxy team

ADD COMMENTlink modified 3 months ago • written 3 months ago by Jennifer Hillman Jackson25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 127 users visited in the last hour