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

Format error on paired end names! #1

Closed
rgarcia27 opened this issue Oct 5, 2021 · 1 comment
Closed

Format error on paired end names! #1

rgarcia27 opened this issue Oct 5, 2021 · 1 comment

Comments

@rgarcia27
Copy link

Hi, I'm trying to run deconaMiner. The data I'm using is paired-end and in fastq format but as the manual says I merged the two fastqs. The problem is that when I try to run filterBlastInfo.sh I get this error

Format error on paired end names! Paired end should be numbered as xxx/1 and xxx/2 where xxx is the name of the query

I don't know if I'm merging the fastqs wrong or something, could you help me please?

Thanks!

@amarinderthind
Copy link
Owner

amarinderthind commented Oct 6, 2021

Please print the header of your fastq file... and check.

Decontaminer expects the following format:

@A00121:137:HTLF3DSXX:3:1110:3097:35571/1
@A00121:137:HTLF3DSXX:3:1110:3097:35571/2

If you have other format (such as mentioned in example below) of PR reads, you can rename/change from this to the required one using simple linux command mention at the end.

@A00121:137:HTLF3DSXX:3:1110:3097:35571 0:N: 00
@A00121:137:HTLF3DSXX:3:1110:3097:35571 1:N: 00

for this case on Linux terminal

sed 's/ 0:N:0://1/g' inputfile > outputfile
sed 's/ 1:N:0://2/g' inputfile > outputfile

Should work...

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