Smartrel does not yield any output
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 207
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am trying to use smartrel to find related individuals in my data. Unfortunately, I get no file of pairwise correlation coefficients. In my log file, I can see those who were above the set threshold, but there is no output file. Here are my scripts:
smartrel.perl
#!/usr/bin/perl
$ENV{'PATH'} = "../bin:$ENV{'PATH'}";
$command = "../bin/smartrel";
$command .= " -p par.smartrel > smartrel.log";
print("$command\n");
system("$command");
par.smartrel
genotypename: data.geno
snpname: data.snp
indivname: data.ind
outputname: data_rel.coef
numeigs: 1
relthresh: 0.10
numoutlieriter: 0
numthreads: 32
I would add that I get no output file no matter the paramenters set in par.smartrel. Also, it looks like smartpca parameters can go inside smartrel's. Does this apply to all params or just some?
Could you please help me with this issue?
Best,
Andrei
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the command from smartrel.perl with par.smartrel and inspect smartrel.log alongside the expected data_rel.coef output. Trace the smartrel entry point to determine why threshold matches produce no output file and verify which smartpca parameters are accepted; done means the documented configuration produces the expected coefficients file or clearly reports invalid parameters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, perl
- Domain
- bioinformatics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100