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

the command line can not be run with "nohup" #49

Open
cnxiaobo94 opened this issue Feb 21, 2023 · 1 comment
Open

the command line can not be run with "nohup" #49

cnxiaobo94 opened this issue Feb 21, 2023 · 1 comment

Comments

@cnxiaobo94
Copy link

[laixl@L001 MSMC2]$ nohup bcftools mpileup -Ou -r CM035273.1 -f ../../../refgenomes/xbinewg/GCA_020226075.1_Hydropotes_inermis_genomic.fa AS_N1.bam --threads 16 | bcftools call -c --threads 16 -V indels | ../../../MSMC2/msmc-tools/bamCaller.py 12 AS_N1_chr5_mask.bed.gz > AS_N1_chr5.vcf &
[3] 100129
[laixl@L001 MSMC2]$ nohup: ignoring input and redirecting stderr to stdout
Note: none of --samples-file, --ploidy or --ploidy-file given, assuming all sites are diploid
[E::hts_hopen] Failed to open file -
[E::hts_open_format] Failed to open file "-" : Exec format error
Failed to read from standard input: Exec format error

Hi, could you help me with this? The "bcftools mpileup -Ou -r CM035273.1 -f ../../../refgenomes/xbinewg/GCA_020226075.1_Hydropotes_inermis_genomic.fa AS_N1.bam --threads 16 | bcftools call -c --threads 16 -V indels | ../../../MSMC2/msmc-tools/bamCaller.py 12 AS_N1_chr5_mask.bed.gz > AS_N1_chr5.vcf" can be run in a window and generate the two requested files. When I add a nohup task, it got an error.

@stschiff
Copy link
Owner

No idea. I'm afraid I can't support nohup, nor how to run bcftools. If it helps, you can split up the pipeline and first generate the pileup-output into a separate file and then feed that to bamCaller.

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