-
Notifications
You must be signed in to change notification settings - Fork 0
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
Download sample images #35
Comments
I have uploaded sample images here (13Gb) But you may want to resample to get more / different images. |
@jatinarora-upmc In #36 I updated the code so that all this information is readily available in two CSV files.
we see that the file We can join with sample_images_metadata.csv to figure the metadata corresponding to plate
specifically, that the cell line id is |
I guess there is an issue here. There are many image identifiers which map to more than 1 cell lines. For example, the image r14c11f05p01-ch5sk1fk1fl1.tiff maps to two cell lines on two plates (98 on BR00106709, and 236 on BR00107338). Could you check, or am I looking in wrong way? |
The file names are identical across all plates.
Use Metadata_Plate as well as filename to identify
Does that help?
…Sent from my iPhone
On Apr 2, 2020, at 2:43 PM, Jatin Arora ***@***.***> wrote:
I guess there is an issue here. There are many image identifiers which map to more than 1 cell lines. For example, the image r14c11f05p01-ch5sk1fk1fl1.tiff maps to two cell lines on two plates (98 on BR00106709, and 236 on BR00107338). Could you check, or am I looking in wrong way?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@jatinarora-upmc I'm following up on your Slack message here. Can you review this thread and LMK if you are able to figure out how to get example images for a cell line ID? |
@shntnu thanks much for reminding me of this thread. |
The notebook referred to in #35 (comment) was used to produce |
Thanks @shntnu . Would it be possible to generate another set of images with another Metadata_Site, let's say 3? I guess the images are stored at your side, so you might have to re-run the script? |
Now available via #45 |
@jatinarora-upmc this notebook has details on how to download; I am copying it below. The IMAGE_DIR=/tmp/cmqtl
mkdir -p $IMAGE_DIR
cut -d"," -f1 data/sample_images.csv | grep -v Metadata_Plate| sort -u > /tmp/plates.txt
parallel -a /tmp/plates.txt --no-run-if-empty mkdir -p $IMAGE_DIR/{}
parallel \
--header ".*\n" \
-C "," \
-a data/sample_images.csv \
--eta \
--joblog ${IMAGE_DIR}/download.log \
wget -q -O ${IMAGE_DIR}/{1}/{4} {5} |
Sure thing. In that snippet, I had a relative path to it |
all set now, thanks so much @shntnu |
@shntnu i am going through the comments i got in today's meeting. May i ask for the images for plate7 also? |
I have updated @jatinarora-upmc see #35 (comment) for what to do next (everything is the same as before, just that I have now replaced with the new plate 7 images) |
@shntnu it seems there are fewer lines in this updated samples_images.csv, and there is no plate cmQTLplate7-7-22-20 anywhere in Metadata_Plate column. Could you please check? |
@jatinarora-upmc |
@jatinarora-upmc @sasgari
The notebook
1.profile-cell-lines/7.select_images_to_print.Rmd
shows how to download sample images. Have a look and LMK if you have any questions.The text was updated successfully, but these errors were encountered: