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

error regular expression? #295

Open
RuixiangLiu01 opened this issue Oct 23, 2024 · 4 comments
Open

error regular expression? #295

RuixiangLiu01 opened this issue Oct 23, 2024 · 4 comments

Comments

@RuixiangLiu01
Copy link

Describe the bug
when running flv_trust4 assay, I got the error below

subprocess.CalledProcessError: Command ' awk '$4!"_" && $4!"?"' .//C2301003-3-T/03.assemble/assemble/C2301003-3-T_report.tsv > .//C2301003-3-T/03.assemble/assemble/C2301003-3-T_filter_report.tsv 2>&1' returned non-zero exit status 2

the awk syntax maybe <awk '"_"!$4 && "?"!$4'>, right? I don't know what is doing here, maybe export the line which the fourth column doesn't match an underscore and question mark, but I got this error

Version
e.g. 2.1.0

@Chenjunjie1996
Copy link
Collaborator

Seems the gawk problem. try to install gawk before running.
conda install -c anaconda gawk

@RuixiangLiu01
Copy link
Author

Seems the gawk problem. try to install gawk before running. conda install -c anaconda gawk

Thanks for reply! What I used is a docker image which built use the Dockerfile in repo

Another thing is that I noticed the fourth column in file "03.assemble/assemble/{sample}_report.tsv" is amino acid sequence, and its' content maybe "out_of_frame" or contains underscore or question mark, eg: "CSV_VAGIQETQYF" or "CAVVESGNTGK?IF". I wonder know the purpose of this step is to filter out these tcr?

@Chenjunjie1996
Copy link
Collaborator

Yes, TCRs that meet these conditions will be filtered.
liulab-dfci/TRUST4#92

@RuixiangLiu01
Copy link
Author

Yes, TCRs that meet these conditions will be filtered. liulab-dfci/TRUST4#92

Thanks, install gawk can run this command

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